cancel
Showing results for 
Search instead for 
Did you mean: 

Getting NullpointerException while running the Test case through launch Runner from ready API 1.7.0

New Contributor

Getting NullpointerException while running the Test case through launch Runner from ready API 1.7.0

2017-07-05 21:43:04,833 ERROR [errorlog] java.lang.NullPointerException
java.lang.NullPointerException
at java.lang.String.<init>(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at com.eviware.soapui.impl.wsdl.submit.filters.HttpRequestFilter.filterHttpRequest(HttpRequestFilter.java:231)
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterAbstractHttpRequest(AbstractRequestFilter.java:46)
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(AbstractRequestFilter.java:34)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.filterRequest(HttpClientRequestTransport.java:396)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:192)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:120)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:80)
at com.eviware.soapui.impl.support.http.HttpRequest.submit(HttpRequest.java:255)
at com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestStep.run(HttpTestRequestStep.java:280)
at com.eviware.soapui.model.testsuite.TestStep$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
at Script1.run(Script1.groovy:2)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:79)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.runScript(WsdlTestCase.java:954)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.runSetupScript(WsdlTestCase.java:958)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runSetupScripts(AbstractTestCaseRunner.java:194)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:112)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:76)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:666)
at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:90)
at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:1)
at com.eviware.soapui.model.testsuite.TestCase$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
at Script1.run(Script1.groovy:80)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:79)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:156)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:228)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 

 

We are facing 3 kind of Exceptions in the attached log while working with launch runner from the ready API 1.7.0 version.

1. Nullpoiner Exception

2. UnsupportedExcodingException

3. HeapSpace - Out of Memory Exception

 

Thanks in advance

2 REPLIES 2
Community Hero

Re: Getting NullpointerException while running the Test case through launch Runner from ready API 1.

I have a feeling we'll need more than just logs in this instance. We may need to see your actual request(s) that are triggering the error to happen. 




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
New Contributor

Re: Getting NullpointerException while running the Test case through launch Runner from ready API 1.

Thanks Msiadak... Please find my Explanation & expectation below : 1. We are trying to automate the test suite in Bamboo build master below is the script we configured in the build. testrunner.bat -s4.1_Driver_Test_Suites -j -fD:\ReadyApiSuiteIntegration\IntegrationSuiteReport "-RTestSuite Report" "-EDefault environment" -I D:\phase5_fusion_5.0\completeProject 4.1_Driver_Test_Suites – suit name with regression test cases which runs around 3hrs -4hrs in local machine. 2. First we tried the regular test suite with 10 test cases which runs below 1 min and its runs successful in the local machine and even in Bamboo build master tool. 3. After successful completion with the small test suite we planned for the regression test suite to automate the process easy. 4. In local machine if we run regularly I mean by clicking the PLAY symbol on the regression suite its running properly and not getting any exceptions in logs and generating report successfully. 5. So we configured the same suite path which mentioned in the step 1. In bamboo master build, but it’s getting failed with many exceptions and not generating report. 6. We tried to execute the same in local machine by right clicking on the test suite and selecting the Launch TestRunner. 7. It will execute the test suite normally in the local machine, here the issue occurring with many exception majorly for every test case we are getting NullpointerException, for some of the case we are getting the UnsupportedEncodingException… after running sometime around 10-15 min test runner is getting failing with HeapMemorySPace issue and hanging the system and CPU percentage is reaching the 100%. Request is very Big XMl file we cannot attach here Smiley Happy
New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors