[jbosstools-issues] [JBoss JIRA] (JBIDE-25017) 1 recurring Test Failure (20+ builds) in JBIDE 4.5.1.AM2 for webservices component

Dmitrii Bocharov (JIRA) issues at jboss.org
Wed Oct 4 07:47:00 EDT 2017


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

Dmitrii Bocharov commented on JBIDE-25017:
------------------------------------------

Bumped into one more problem, while trying to fix these ones
{code:java}
testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest)  Time elapsed: 111.337 sec  <<< FAILURE!
java.lang.AssertionError: ***********************
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.$Proxy12.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 org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.checkText(JBossWSJavaFirstCommandTest.java:157)
	at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.testDeployResult(JBossWSJavaFirstCommandTest.java:110)
{code}

the details of this problem can be found here: https://issues.jboss.org/browse/JBWS-1439. The main idea is that it runs successfully only with the correct JDK version, 5 here. That's why i had to fix the configuration for https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstools-webservices-Pull-Request/, which used default JAVA_HOME for all version of jres.

> 1 recurring Test Failure (20+ builds) in JBIDE 4.5.1.AM2 for webservices component
> ----------------------------------------------------------------------------------
>
>                 Key: JBIDE-25017
>                 URL: https://issues.jboss.org/browse/JBIDE-25017
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: webservices
>    Affects Versions: 4.5.1.AM2
>            Reporter: Nick Boldt
>            Assignee: Dmitrii Bocharov
>            Priority: Critical
>              Labels: testfailure
>             Fix For: 4.5.1.AM3
>
>
> *1 Test Failure(s) in JBIDE 4.5.1.AM2 for webservices component:*
> https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-webservices_master/692/testReport/
> -----
> {code}
> Regression
> org.jboss.tools.ws.jaxrs.core.internal.metamodel.builder.JaxrsMetamodelChangedProcessorTestCase.shouldChangeEndpointUriPathTemplateWhenSwitchingToWebxmlCoreApplication
> Failing for the past 22 builds (Since #671 )
> Took 0.13 sec.
> add description
> Error Message
> Expected: <6>
>      but: was <10>
> Stacktrace
> java.lang.AssertionError: 
> Expected: <6>
>      but: was <10>
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> 	at org.junit.Assert.assertThat(Assert.java:956)
> 	at org.junit.Assert.assertThat(Assert.java:923)
> 	at org.jboss.tools.ws.jaxrs.core.internal.metamodel.builder.JaxrsMetamodelChangedProcessorTestCase.shouldChangeEndpointUriPathTemplateWhenSwitchingToWebxmlCoreApplication(JaxrsMetamodelChangedProcessorTestCase.java:358)
> {code}
> -- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-webservices_master/692/testReport/org.jboss.tools.ws.jaxrs.core.internal.metamodel.builder/JaxrsMetamodelChangedProcessorTestCase/shouldChangeEndpointUriPathTemplateWhenSwitchingToWebxmlCoreApplication/



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list