[jbosstools-issues] [JBoss JIRA] (JBIDE-19946) running webservice test gives errors

Max Rydahl Andersen (JIRA) issues at jboss.org
Fri Jun 19 02:47:02 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081405#comment-13081405 ] 

Max Rydahl Andersen commented on JBIDE-19946:
---------------------------------------------

What I do see though is what looks like very slow execution of JBossWSCreationCoreTestSuite (not sure if normal?) and then a failure:

{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
Retrieving document at 'file:/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
null
null
Retrieving document at '/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 338.277 sec <<< FAILURE! - in org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSTopDownCommandTest)  Time elapsed: 130.314 sec
testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest)  Time elapsed: 137.768 sec  <<< FAILURE!
junit.framework.AssertionFailedError: ***********************
Create Web Service Client...
Create Web Service...
Create Web Service Operation...
Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
	at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
	at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
	at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
	at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
	at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
	at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
	at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
	at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
	... 4 more

	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.assertTrue(Assert.java:22)
	at junit.framework.TestCase.assertTrue(TestCase.java:192)
	at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.checkText(JBossWSJavaFirstCommandTest.java:163)
	at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.testDeployResult(JBossWSJavaFirstCommandTest.java:116)

testInitialClientCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)  Time elapsed: 16.873 sec
testClientCodeGenerationCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)  Time elapsed: 23.473 sec
testRemoveClientJarsCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)  Time elapsed: 13.978 sec
testMergeWebXMLCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSMergeWebXMLCommandTest)  Time elapsed: 9.179 sec
testJBIDE6175(org.jboss.tools.ws.creation.core.test.command.JBossWSClientSampleCreationCommandTest)  Time elapsed: 6.563 sec

Results :

Failed tests:
  JBossWSJavaFirstCommandTest.testDeployResult:116->checkText:163 ***********************
Create Web Service Client...
Create Web Service...
Create Web Service Operation...
Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
	at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
	at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
	at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
	at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
	at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
	at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
	at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
	at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
	... 4 more


Tests run: 7, Failures: 1, Errors: 0, Skipped: 0
{code}

Maybe some change between Java 7 to 8 ? 

> running webservice test gives errors
> ------------------------------------
>
>                 Key: JBIDE-19946
>                 URL: https://issues.jboss.org/browse/JBIDE-19946
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>            Reporter: Max Rydahl Andersen
>            Assignee: Brian Fitzpatrick
>             Fix For: 4.3.0.Beta2
>
>
> running 4.3.0.Beta1x with jdk's defined I get this error:
> {code}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
> Retrieving document at 'file:/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
> null
> null
> Retrieving document at '/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 272.543 sec <<< FAILURE! - in org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
> testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSTopDownCommandTest)  Time elapsed: 82.428 sec
> testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest)  Time elapsed: 127.267 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: ***********************
> Create Web Service Client...
> Create Web Service...
> Create Web Service Operation...
> Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
> 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
> 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
> 	at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
> 	at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> 	at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
> 	at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
> 	at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
> 	at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
> 	at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
> 	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
> 	... 4 more
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.assertTrue(Assert.java:22)
> 	at junit.framework.TestCase.assertTrue(TestCase.java:192)
> 	at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.checkText(JBossWSJavaFirstCommandTest.java:163)
> 	at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.testDeployResult(JBossWSJavaFirstCommandTest.java:116)
> testInitialClientCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)  Time elapsed: 15.26 sec
> testClientCodeGenerationCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)  Time elapsed: 17.628 sec
> testRemoveClientJarsCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)  Time elapsed: 14.25 sec
> testMergeWebXMLCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSMergeWebXMLCommandTest)  Time elapsed: 9.174 sec
> testJBIDE6175(org.jboss.tools.ws.creation.core.test.command.JBossWSClientSampleCreationCommandTest)  Time elapsed: 6.416 sec
> Results :
> Failed tests:
>   JBossWSJavaFirstCommandTest.testDeployResult:116->checkText:163 ***********************
> Create Web Service Client...
> Create Web Service...
> Create Web Service Operation...
> Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
> 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
> 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
> 	at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
> 	at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> 	at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
> 	at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
> 	at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
> 	at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
> 	at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
> 	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
> 	... 4 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list