cancel
Showing results for 
Search instead for 
Did you mean: 

Error on jdbc step for listener notification

SOLVED
Highlighted
Regular Visitor

Error on jdbc step for listener notification

Hi - observed below error at jdbc step when added event listener to the scripts.

Suggested workaround to create database connection use the same in jdbc script instead of using from properties -- cannot use the workaround as running scripts from build pipeline. Please suggest way forward. This is in Ready API 3.3.2 version

 

ERROR [AbstractTestCaseRunner] An error occurred when notifying the listener before the test step execution.
java.lang.NullPointerException: null
at com.eviware.soapui.impl.wsdl.teststeps.ProJdbcRequestTestStep.a(ProJdbcRequestTestStep.java:144) ~[ready-api-soapui-pro-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.teststeps.ProJdbcRequestTestStep.applyEnvironment(ProJdbcRequestTestStep.java:120) ~[ready-api-soapui-pro-3.3.1.jar:3.3.1]
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.beforeStep(SoapUIProTestCaseRunner.java:376) ~[ready-api-runners-3.3.1.jar:?]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runBeforeSteps(AbstractTestCaseRunner.java:347) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:284) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:182) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) [ready-api-soapui-3.3.1.jar:3.3.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:835) [?:?]
07:16:10,444 INFO [SoapUIProTestCaseRunner] Assertion [Match content of [@rowNumber]] has status PASS
07:16:10,478 ERROR [AbstractTestCaseRunner] An error occurred when notifying the listener after the test step execution.
java.lang.NullPointerException: null
at com.eviware.soapui.impl.wsdl.teststeps.ProJdbcRequestTestStep.a(ProJdbcRequestTestStep.java:144) ~[ready-api-soapui-pro-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.teststeps.ProJdbcRequestTestStep.applyEnvironment(ProJdbcRequestTestStep.java:120) ~[ready-api-soapui-pro-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.teststeps.ProJdbcRequestTestStep.resetEnvironment(ProJdbcRequestTestStep.java:126) ~[ready-api-soapui-pro-3.3.1.jar:3.3.1]
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.afterStep(SoapUIProTestCaseRunner.java:385) ~[ready-api-runners-3.3.1.jar:?]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.notifyListenersAfterStep(AbstractTestCaseRunner.java:335) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:309) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:182) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) [ready-api-soapui-3.3.1.jar:3.3.1]
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) [ready-api-soapui-3.3.1.jar:3.3.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:835) [?:?]

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: Error on jdbc step for listener notification

By taking a look at this, I can say that you would need to file a support ticket to have this investigated deeper.

Please post the solution that the Support team provides you with here - this will help a lot of community members.

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
Highlighted
Community Manager

Re: Error on jdbc step for listener notification

By taking a look at this, I can say that you would need to file a support ticket to have this investigated deeper.

Please post the solution that the Support team provides you with here - this will help a lot of community members.

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors