Forum Discussion
BenX
17 years agoContributor
Hi!
I have some problems with null pointer exception as well.
If i create very simple test case with 2 methods, the second will not be sent untill i choose "Maintain HTTP session" in tese case options.
The problem is that this has to be choosen on some computers and not on mine for example.
What could be reason for this?
soapUI log from mine computer:
Fri Sep 25 09:51:45 CEST 2009:DEBUG:HttpConnectionManager.getConnection: config = HostConfiguration[host=http://www.ecubicle.net], timeout = 0
Fri Sep 25 09:51:45 CEST 2009:DEBUG:Getting free connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Notifying no-one, there are no waiting threads
Fri Sep 25 09:51:47 CEST 2009:DEBUG:HttpConnectionManager.getConnection: config = HostConfiguration[host=http://www.ecubicle.net], timeout = 0
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Getting free connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Notifying no-one, there are no waiting threads
soapUi log from another computer:
Fri Sep 25 09:44:31 CEST 2009:DEBUG:HttpConnectionManager.getConnection: config = HostConfiguration[host=http://www.ecubicle.net], timeout = 0
Fri Sep 25 09:44:31 CEST 2009:DEBUG:Getting free connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:44:32 CEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:44:32 CEST 2009:DEBUG:Notifying no-one, there are no waiting threads
Fri Sep 25 09:44:32 CEST 2009:ERROR:Exception in request: java.lang.NullPointerException
Fri Sep 25 09:44:32 CEST 2009:ERROR:An error occured [java.lang.NullPointerException], see error log for details
error log from "amother" computer:
Fri Sep 25 09:44:32 CEST 2009:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.getXmlTemplatesList(SourceFile:692)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.getXmlTemplates(SourceFile:681)
at com.eviware.soapui.model.propertyexpansion.resolvers.ReportTemplateExpansionResolver.resolveProperty(SourceFile:23)
at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expand(PropertyExpander.java:151)
at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expandProperties(PropertyExpander.java:92)
at com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.expand(DefaultPropertyExpansionContext.java:30)
at com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.get(DefaultPropertyExpansionContext.java:58)
at com.eviware.soapui.model.support.AbstractSubmitContext.getProperty(AbstractSubmitContext.java:69)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext.getProperty(WsdlTestRunContext.java:135)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:93)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:75)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:222)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:323)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:197)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:128)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:137)
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)
wsdl for project can be found here: http://www.ecubicle.net/iptocountry.asmx?wsdl
Thanks!
I have some problems with null pointer exception as well.
If i create very simple test case with 2 methods, the second will not be sent untill i choose "Maintain HTTP session" in tese case options.
The problem is that this has to be choosen on some computers and not on mine for example.
What could be reason for this?
soapUI log from mine computer:
Fri Sep 25 09:51:45 CEST 2009:DEBUG:HttpConnectionManager.getConnection: config = HostConfiguration[host=http://www.ecubicle.net], timeout = 0
Fri Sep 25 09:51:45 CEST 2009:DEBUG:Getting free connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Notifying no-one, there are no waiting threads
Fri Sep 25 09:51:47 CEST 2009:DEBUG:HttpConnectionManager.getConnection: config = HostConfiguration[host=http://www.ecubicle.net], timeout = 0
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Getting free connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:51:47 CEST 2009:DEBUG:Notifying no-one, there are no waiting threads
soapUi log from another computer:
Fri Sep 25 09:44:31 CEST 2009:DEBUG:HttpConnectionManager.getConnection: config = HostConfiguration[host=http://www.ecubicle.net], timeout = 0
Fri Sep 25 09:44:31 CEST 2009:DEBUG:Getting free connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:44:32 CEST 2009:DEBUG:Freeing connection, hostConfig=HostConfiguration[host=http://www.ecubicle.net]
Fri Sep 25 09:44:32 CEST 2009:DEBUG:Notifying no-one, there are no waiting threads
Fri Sep 25 09:44:32 CEST 2009:ERROR:Exception in request: java.lang.NullPointerException
Fri Sep 25 09:44:32 CEST 2009:ERROR:An error occured [java.lang.NullPointerException], see error log for details
error log from "amother" computer:
Fri Sep 25 09:44:32 CEST 2009:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.getXmlTemplatesList(SourceFile:692)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.getXmlTemplates(SourceFile:681)
at com.eviware.soapui.model.propertyexpansion.resolvers.ReportTemplateExpansionResolver.resolveProperty(SourceFile:23)
at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expand(PropertyExpander.java:151)
at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expandProperties(PropertyExpander.java:92)
at com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.expand(DefaultPropertyExpansionContext.java:30)
at com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.get(DefaultPropertyExpansionContext.java:58)
at com.eviware.soapui.model.support.AbstractSubmitContext.getProperty(AbstractSubmitContext.java:69)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext.getProperty(WsdlTestRunContext.java:135)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:93)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:75)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:222)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:323)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:197)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:128)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:137)
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)
wsdl for project can be found here: http://www.ecubicle.net/iptocountry.asmx?wsdl
Thanks!