[JBoss JIRA] (JBIDE-19946) running webservice test gives errors
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19946?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick updated JBIDE-19946:
--------------------------------------
Fix Version/s: 4.3.0.CR1
(was: 4.3.0.Beta2)
> 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.CR1
>
>
> 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)
10 years, 11 months
[JBoss JIRA] (JBIDE-20296) Appending server URL add https:// prefix all the time
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20296?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-20296:
------------------------------------------
most likely we should not add http(s):// in UI but in the model only once we try to connect
> Appending server URL add https:// prefix all the time
> -----------------------------------------------------
>
> Key: JBIDE-20296
> URL: https://issues.jboss.org/browse/JBIDE-20296
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Marián Labuda
> Priority: Minor
> Fix For: 4.3.0.CR1
>
>
> In New Connection dialog is validation on server text field (server URL). In case of invalid input, the "https://" prefix is added and then typed text is appended. This works in case if user clear text field and start type server without https:// prefix. But if user start type "http" and then add instead of "s" letter "a", this whole goes as appendix to suffix "https://". It results into string "https://httpa".
> The real problem begin, once I have any valid URL, e.g. "https://locahost:8443" and I start typing somewhere into substring "https://". Let's say I type letter "x" to get "httpsx://localhost:8443". It results into new server URL "https://httpsx://localhost:8443". And this repeats again and again.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months
[JBoss JIRA] (JBIDE-20296) Appending server URL add https:// prefix all the time
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20296?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-20296:
-------------------------------------
Fix Version/s: 4.3.0.CR1
> Appending server URL add https:// prefix all the time
> -----------------------------------------------------
>
> Key: JBIDE-20296
> URL: https://issues.jboss.org/browse/JBIDE-20296
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Marián Labuda
> Priority: Minor
> Fix For: 4.3.0.CR1
>
>
> In New Connection dialog is validation on server text field (server URL). In case of invalid input, the "https://" prefix is added and then typed text is appended. This works in case if user clear text field and start type server without https:// prefix. But if user start type "http" and then add instead of "s" letter "a", this whole goes as appendix to suffix "https://". It results into string "https://httpa".
> The real problem begin, once I have any valid URL, e.g. "https://locahost:8443" and I start typing somewhere into substring "https://". Let's say I type letter "x" to get "httpsx://localhost:8443". It results into new server URL "https://httpsx://localhost:8443". And this repeats again and again.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months
[JBoss JIRA] (JBIDE-20297) Application wizard: creating a project when prompted, puts you in a non-usable "template selection" page
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20297?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-20297:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure that you have a connection to https://console.stg.openshift.com
# EXEC: in explorer pick "Manage Projects..." from the context menu of your connection
# EXEC: in manage projects wizard: remove all projects
# EXEC: launch new app wizard via File->New->Other->OpenShift->"New OpenShift application" and select your connection from combo and hit "Next"
# ASSERT: you get logged in, page switches to template selection and on top you get prompted to create a new project
!new-project.png!
# EXEC: in new project wizard: provide a name and hit "Finish"
# ASSERT: project is created and project wizard is closing, you're back in the template selection page
Result:
The template selection page has nothing initialized, there is no project selected, no projects nor templates available.
!not-initialized.png!
ps. I cannot reproduce this with my local openshift docker container. When I remove all projects a "default" project gets re-created immediately. STG on the other hand wont do that
was:
# ASSERT: make sure that you have a connection to https://console.stg.openshift.com
# EXEC: in explorer pick "Manage Projects..." from the context menu of your connection
# EXEC: in manage projects wizard: remove all projects
# EXEC: launch new app wizard via File->New->Other->OpenShift->"New OpenShift application" and select your connection from combo and hit "Next"
# ASSERT: you get logged in, page switches to template selection and on top you get prompted to create a new project
!new-project.png!
# EXEC: in new project wizard: provide a name and hit "Finish"
# ASSERT: project is created and project wizard is closing, you're back in the template selection page
Result:
The template selection page has nothing initialized, there is no project selected, no projects nor templates available.
!not-initialized.png!
> Application wizard: creating a project when prompted, puts you in a non-usable "template selection" page
> --------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-20297
> URL: https://issues.jboss.org/browse/JBIDE-20297
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Andre Dietisheim
> Priority: Critical
> Labels: application_wizard, newproject_wizard
> Fix For: 4.3.0.CR1
>
> Attachments: new-project.png, not-initialized.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months