Forum Discussion

Jseban's avatar
Jseban
Occasional Contributor
5 years ago

SoapUI running in Docker Container throwing java.lang.NoSuchMethodException: Unknown property 'host'

I was able to execute the soapUI script successfully via docker. But in log I am getting the below error. It is not actually causing the step to fail but it happens for every request I make. I was not able to find a reason or fix for this. Could you please help me? I am running SoapUI 5.5.0 open source version in Openjdk8 environment.

 

java.lang.NoSuchMethodException: Unknown property 'host'

     [exec] at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1741)

     [exec] at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)

     [exec] at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)

     [exec] at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:559)

     [exec] at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:257)

     [exec] at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)

     [exec] at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)

     [exec] at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)

     [exec] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)

     [exec] at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)

     [exec] at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)

     [exec] at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)

     [exec] at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323)

     [exec] at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:301)

     [exec] at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:231)

     [exec] at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)

     [exec] at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:79)

     [exec] at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:192)

     [exec] at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:794)

     [exec] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:211)

     [exec] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47)

     [exec] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138)

     [exec] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46)

     [exec] at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:128)

     [exec] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)

     [exec] at java.util.concurrent.FutureTask.run(FutureTask.java:277)

     [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)

     [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

     [exec] at java.lang.Thread.run(Thread.java:818)

  • resolved after changing the base image to openjdk8.

  • Jseban's avatar
    Jseban
    Occasional Contributor

    resolved after changing the base image to openjdk8.