Forum Discussion
mpw83
11 years agoContributor
Ok , sorry for that , unfortunately I can not upload the xml due to regulations and Also difficult to tell exact scenario because getting same error for lots of different scenarios. but if I mention very basic one,
http://<Server>/DEMO/patient/<PatientID>@<Namespace>/problems/genericproblems/summary
So if we sent a patient ID who does not have Problems , then its should return following response.
<Response xmlns="http://<Server>/DEMO/patient/<PatientID>@<Namespace>/problems/genericproblems/summary">
<accessLevel>FullAccess</accessLevel>
<annotations/>
<listMore>false</listMore>
<pageInfo null="true"/>
<patientHandle>
<attributes>
<Address>
<AddressType null="true"/>
<City null="true"/>
<Country null="true"/>
<StateOrProvince null="true"/>
<StreetAddress1 null="true"/>
<StreetAddress2 null="true"/>
<Suburb null="true"/>
<ZipOrPostalCode null="true"/>
</Address>
<Phone>
<Phone null="true"/>
</Phone>
</attributes>
<dateOfBirth>20121130</dateOfBirth>
<emailAddress null="true"/>
<familyName>-</familyName>
<fullName>-</fullName>
<gender>U</gender>
<givenName/>
<mergeChains>
<OP>
<current>300000000</current>
<priors/>
</OP>
</mergeChains>
<middleName/>
<namePrefix null="true"/>
<primaryMergeChainNamespace>OP</primaryMergeChainNamespace>
<resolvingIdentifier>
<id>PatientID</id>
<namespace>OP</namespace>
</resolvingIdentifier>
<type>PatientIdentity</type>
</patientHandle>
<payload/>
</Response>
As a trouble shoot , we executed using different versions like 4.5.2 , 4.6.2 , and 4.6.4 . also all the assertions are written using Groovy. executed with out and with assertions and getting same error.
Also found this error on "soapui-error.log"
2014-01-29 16:14:00,486 ERROR [errorlog] java.util.concurrent.ExecutionException: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.waitUntilFinished(AbstractTestRunner.java:221)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.runTestSuite(WsdlProjectRunner.java:171)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.runSequential(WsdlProjectRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:93)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:36)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
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.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyAfterRun(WsdlTestSuiteRunner.java:204)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalFinally(WsdlTestSuiteRunner.java:191)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalFinally(WsdlTestSuiteRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:163)
... 6 more
Thanks for your collaboration
http://<Server>/DEMO/patient/<PatientID>@<Namespace>/problems/genericproblems/summary
So if we sent a patient ID who does not have Problems , then its should return following response.
<Response xmlns="http://<Server>/DEMO/patient/<PatientID>@<Namespace>/problems/genericproblems/summary">
<accessLevel>FullAccess</accessLevel>
<annotations/>
<listMore>false</listMore>
<pageInfo null="true"/>
<patientHandle>
<attributes>
<Address>
<AddressType null="true"/>
<City null="true"/>
<Country null="true"/>
<StateOrProvince null="true"/>
<StreetAddress1 null="true"/>
<StreetAddress2 null="true"/>
<Suburb null="true"/>
<ZipOrPostalCode null="true"/>
</Address>
<Phone>
<Phone null="true"/>
</Phone>
</attributes>
<dateOfBirth>20121130</dateOfBirth>
<emailAddress null="true"/>
<familyName>-</familyName>
<fullName>-</fullName>
<gender>U</gender>
<givenName/>
<mergeChains>
<OP>
<current>300000000</current>
<priors/>
</OP>
</mergeChains>
<middleName/>
<namePrefix null="true"/>
<primaryMergeChainNamespace>OP</primaryMergeChainNamespace>
<resolvingIdentifier>
<id>PatientID</id>
<namespace>OP</namespace>
</resolvingIdentifier>
<type>PatientIdentity</type>
</patientHandle>
<payload/>
</Response>
As a trouble shoot , we executed using different versions like 4.5.2 , 4.6.2 , and 4.6.4 . also all the assertions are written using Groovy. executed with out and with assertions and getting same error.
Also found this error on "soapui-error.log"
2014-01-29 16:14:00,486 ERROR [errorlog] java.util.concurrent.ExecutionException: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.waitUntilFinished(AbstractTestRunner.java:221)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.runTestSuite(WsdlProjectRunner.java:171)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.runSequential(WsdlProjectRunner.java:138)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:93)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:36)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
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.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyAfterRun(WsdlTestSuiteRunner.java:204)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalFinally(WsdlTestSuiteRunner.java:191)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalFinally(WsdlTestSuiteRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:163)
... 6 more
Thanks for your collaboration
Related Content
- 5 years ago
- 14 years ago
Recent Discussions
- 5 days ago