16 years ago
Nothing but No signature of method
I have a number of test cases that all fail with about the same reason:
Exception during TestCase Execution
groovy.lang.MissingMethodException: No signature of method
I remember having this same problem last year, but I dont remember what I did to fix it. Thanks in advance for the help.
The test all come from this project:
http://developer.connectopensource.org/ ... tion+Tests
I am using Sun Java JDK 6 Update 22 on Windows
My startup script looks like this:
@echo off
set SOAPUI_HOME=%~dp0
rem init classpath
set CLASSPATH=%SOAPUI_HOME%soapui-2.5.1.jar;%SOAPUI_HOME%..\lib\*;
rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms384m -Xmx512m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home="%SOAPUI_HOME%\"
if "%SOAPUI_HOME%\" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"
:START
rem ********* run soapui ***********
java %JAVA_OPTS% com.eviware.soapui.SoapUI %*
I DO NOT GET ANY ERRORS on startup.
The log file looks like this:
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
14:00:45,678 ERROR [WsdlTestCaseRunner] Exception during TestCase Execution
groovy.lang.MissingMethodException: No signature of method: Script1$_run_closure
5.doCall() is applicable for argument types: (com.eviware.soapui.impl.wsdl.testc
ase.WsdlTestCaseRunner, com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext
) values: {com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner@376243b5, ["
com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.SchemaComplianceAssertio
n@SchemaComplianceHasClearedCacheFlag":"yep!", "loopButton":javax.swing.JToggleB
utton[,45,3,22x21,alignmentX=0.0,alignmentY=0.5,border=javax.swing.border.Compou
ndBorder@5cd99967,flags=16777504,maximumSize=,minimumSize=,preferredSize=java.aw
t.Dimension[width=22,height=18],defaultIcon=jar:file:/C:/Program%20Files%20(x86)
/eviware/soapUI-2.5.1/bin/soapui-2.5.1.jar!/com/eviware/soapui/resources/images/
loop.gif,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIRes
ource[top=0,left=4,bottom=0,right=4],paintBorder=true,paintFocus=true,pressedIco
n=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]
, "RunCount":0, "ThreadIndex":0]}
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:241)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at groovy.lang.Closure.call(Closure.java:292)
at org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.ja
va:43)
at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandle
r.java:72)
at $Proxy0.beforeStep(Unknown Source)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(
WsdlTestCaseRunner.java:268)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTest
CaseRunner.java:182)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception during TestCase Execution
groovy.lang.MissingMethodException: No signature of method
I remember having this same problem last year, but I dont remember what I did to fix it. Thanks in advance for the help.
The test all come from this project:
http://developer.connectopensource.org/ ... tion+Tests
I am using Sun Java JDK 6 Update 22 on Windows
My startup script looks like this:
@echo off
set SOAPUI_HOME=%~dp0
rem init classpath
set CLASSPATH=%SOAPUI_HOME%soapui-2.5.1.jar;%SOAPUI_HOME%..\lib\*;
rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms384m -Xmx512m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 -Dsoapui.home="%SOAPUI_HOME%\"
if "%SOAPUI_HOME%\" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"
:START
rem ********* run soapui ***********
java %JAVA_OPTS% com.eviware.soapui.SoapUI %*
I DO NOT GET ANY ERRORS on startup.
The log file looks like this:
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
14:00:45,678 ERROR [WsdlTestCaseRunner] Exception during TestCase Execution
groovy.lang.MissingMethodException: No signature of method: Script1$_run_closure
5.doCall() is applicable for argument types: (com.eviware.soapui.impl.wsdl.testc
ase.WsdlTestCaseRunner, com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext
) values: {com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner@376243b5, ["
com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.SchemaComplianceAssertio
n@SchemaComplianceHasClearedCacheFlag":"yep!", "loopButton":javax.swing.JToggleB
utton[,45,3,22x21,alignmentX=0.0,alignmentY=0.5,border=javax.swing.border.Compou
ndBorder@5cd99967,flags=16777504,maximumSize=,minimumSize=,preferredSize=java.aw
t.Dimension[width=22,height=18],defaultIcon=jar:file:/C:/Program%20Files%20(x86)
/eviware/soapUI-2.5.1/bin/soapui-2.5.1.jar!/com/eviware/soapui/resources/images/
loop.gif,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIRes
ource[top=0,left=4,bottom=0,right=4],paintBorder=true,paintFocus=true,pressedIco
n=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]
, "RunCount":0, "ThreadIndex":0]}
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(C
losureMetaClass.java:241)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at groovy.lang.Closure.call(Closure.java:292)
at org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.ja
va:43)
at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandle
r.java:72)
at $Proxy0.beforeStep(Unknown Source)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(
WsdlTestCaseRunner.java:268)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTest
CaseRunner.java:182)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)