Forum Discussion

rdebie's avatar
rdebie
Contributor
17 years ago

code for remove log window doesn't work anymore in version 1.7.6

Hello there,

When i remove a log window i got the follow error:

groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.support.log.InspectorLog4JMonitor.indexOfTab() is applicable for argument types: (java.lang.String) values: {"jetty log"}



The code below did work in the version 1.7.5
I use the code below:


def RemoveLogWindow( WindowName )
{
  def logArea = com.eviware.soapui.SoapUI.logMonitor;
  if ( logArea != null )
  {
      // seach for logwindow
      def ix = logArea.indexOfTab( WindowName );

      if ( ix > 0 )
      {
        logArea.remove( ix );
      }
  }
}


RemoveLogWindow( "jetty log" );


How can i resolve the problem.

Regards,

Raymond Wiertz
The Netherlands

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Raymond,

    hmm.. unfortunately this is not currently possible in the 1.7.6 version.. I'll have it fixed in the upcoming snapshot

    sorry for the inconvenience..

    regards,

    /Ole
    eviware.com
  • Is it still posible to create my own log window?

    Regards,

    Raymond Wiertz