OxYz0n3
2 years agoNew Member
Linux: java.lang.NullPointerException: Cannot invoke method getAt() on null object
Hello, i've got a lot of exceptions when i run my testsuite on Linux (the project has been created on Windows SoapUI initially).
This is my cmd:
/opt/SoapUI/bin/testrunner.sh Tests_Performance_SoapUI/REST-Tests-Perfs-ROC-soapui-project.xml -s Tests_Perfs_Viamedis_Pec_RAC_Version_N -c Tests_Perfs_SIM -Dsoapui.properties.REST-Tests-Perfs-ROC=REST-Tests-Perfs-ROC.properties
And this is the first exception:
ERROR [AbstractTestRunner] Exception during Test Execution
70java.lang.NullPointerException: Cannot invoke method getAt() on null object
71 at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) ~[groovy-3.0.6.jar:3.0.6]
72 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:44) ~[groovy-3.0.6.jar:3.0.6]
73 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) ~[groovy-3.0.6.jar:3.0.6]
74 at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:34) ~[groovy-3.0.6.jar:3.0.6]
75 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) ~[groovy-3.0.6.jar:3.0.6]
76 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) ~[groovy-3.0.6.jar:3.0.6]
77 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139) ~[groovy-3.0.6.jar:3.0.6]
78 at Script1.run(Script1.groovy:33) ~[?:?]
79 at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:90) ~[soapui-5.7.0.jar:5.7.0]
80 at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.runSetupScript(WsdlTestCase.java:880) ~[soapui-5.7.0.jar:5.7.0]
81 at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runSetupScripts(AbstractTestCaseRunner.java:182) ~[soapui-5.7.0.jar:5.7.0]
82 at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:102) ~[soapui-5.7.0.jar:5.7.0]
83 at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46) ~[soapui-5.7.0.jar:5.7.0]
84 at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) [soapui-5.7.0.jar:5.7.0]
85 at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:77) [soapui-5.7.0.jar:5.7.0]
86 at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:595) [soapui-5.7.0.jar:5.7.0]
87 at com.eviware.soapui.tools.SoapUITestCaseRunner.runTestCase(SoapUITestCaseRunner.java:573) [soapui-5.7.0.jar:5.7.0]
88 at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:406) [soapui-5.7.0.jar:5.7.0]
89 at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:228) [soapui-5.7.0.jar:5.7.0]
90 at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:148) [soapui-5.7.0.jar:5.7.0]
91 at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:116) [soapui-5.7.0.jar:5.7.0]
92 at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122) [soapui-5.7.0.jar:5.7.0]
I'm using OpenJDK-11 on the machine.
Can someone help me to solve this please ?
Thanks a lot.