SoapUI Validation Fails with NPE before it hits the server.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SoapUI Validation Fails with NPE before it hits the server.

sherman
Hi,
I'm new to CONNECT.

On Ubuntu 16.04.2
- Installed CONNECT 4.7.0 from binaries.
- Deployed in WildFly 8.2.1.Final

Using
- MySQL 5.7.17-0ubuntu0.16.04.2
- SoapUI 5.3.0
Yes, I did copy the MySQL connector and FileUtils jars to the SoapUI lib.

Running the test suites gave this error on every test.

   java.lang.NullPointerException
    at java.io.File.<init>(Unknown Source)
    at nhinc.FileUtils.restoreConfiguration(FileUtils.java:706)
    at nhinc.FileUtils.restoreConfiguration(FileUtils.java:730)
    at nhinc.FileUtils$restoreConfiguration.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    at Script1.run(Script1.groovy:2)
    at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:90)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.runTearDownScript(WsdlTestCase.java:898)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTearDownScripts(AbstractTestCaseRunner.java:186)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalFinally(AbstractTestCaseRunner.java:171)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalFinally(AbstractTestCaseRunner.java:46)
    at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:149)
    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)

Attached logs.
TestSuite.log
Error.log

No activity is shown in the server log. I'm guessing that the tests didn't get that far.

Thank you for your assistance in this matter.
Reply | Threaded
Open this post in threaded view
|

Re: SoapUI Validation Fails with NPE before it hits the server.

Minh
Administrator
hi Sherman,

You probably forget to set GatewayPropDir in soapUI Custom Property to point to your wildfly nhinc main directory which usually locates under <wildfly_home>\modules\system\layers\base\org\connectopensource\configuration\main
Minh-Hai Nguyen
CONNECT Product Team Member