rdebie
17 years agoContributor
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
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