[JBoss JIRA] (JBIDE-20118) Test failures after merging JBIDE-19958
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20118?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-20118 at 6/18/15 3:30 PM:
-------------------------------------------------------------------
merging JBIDE-20076 fixed this. See [build 846|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view...] :
{code}
Tests run: 120, Failures: 0, Errors: 0, Skipped: 0
[INFO] All tests passed!
[INFO]
[INFO] --- repository-utils:0.22.1-SNAPSHOT:compare-version-with-baselines (default) @ org.jboss.tools.openshift.test ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] openshift.tests .................................... SUCCESS [ 0.440 s]
[INFO] org.jboss.tools.openshift.egit.test ................ SUCCESS [ 20.959 s]
[INFO] org.jboss.tools.openshift.express.test ............. SUCCESS [ 21.253 s]
[INFO] org.jboss.tools.openshift.test ..................... SUCCESS [ 16.772 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:32 min
[INFO] Finished at: 2015-06-18T13:53:25-04:00
[INFO] Final Memory: 65M/647M
[INFO] ------------------------------------------------------------------------
{code}
was (Author: adietish):
merging JBIDE-20076 fixed this. See jenkins:
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/846/}
Tests run: 120, Failures: 0, Errors: 0, Skipped: 0
[INFO] All tests passed!
[INFO]
[INFO] --- repository-utils:0.22.1-SNAPSHOT:compare-version-with-baselines (default) @ org.jboss.tools.openshift.test ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] openshift.tests .................................... SUCCESS [ 0.440 s]
[INFO] org.jboss.tools.openshift.egit.test ................ SUCCESS [ 20.959 s]
[INFO] org.jboss.tools.openshift.express.test ............. SUCCESS [ 21.253 s]
[INFO] org.jboss.tools.openshift.test ..................... SUCCESS [ 16.772 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:32 min
[INFO] Finished at: 2015-06-18T13:53:25-04:00
[INFO] Final Memory: 65M/647M
[INFO] ------------------------------------------------------------------------
{code}
> Test failures after merging JBIDE-19958
> ---------------------------------------
>
> Key: JBIDE-20118
> URL: https://issues.jboss.org/browse/JBIDE-20118
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Andre Dietisheim
> Assignee: Jeff Cantrill
> Priority: Critical
> Fix For: 4.3.0.Beta2
>
>
> Build currently fails with the following failures in our test suite:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_...
> {code:title=org.jboss.tools.openshift.test.AllTestsSuite}
> Failed tests:
> CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors:100
> Wanted but not invoked:
> template.addLabel(<any>, <any>);
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:100)
> However, there were other interactions with this mock:
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:95)
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:95)
> NewApplicationWizardModelTest.setTemplateShouldCopyParametersAndLabels:76 array lengths differed, expected.length=1 actual.length=0
> Tests run: 120, Failures: 2, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-20118) Test failures after merging JBIDE-19958
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20118?page=com.atlassian.jira.plugi... ]
Andre Dietisheim closed JBIDE-20118.
------------------------------------
Resolution: Done
closing, nothing for QE to verify
> Test failures after merging JBIDE-19958
> ---------------------------------------
>
> Key: JBIDE-20118
> URL: https://issues.jboss.org/browse/JBIDE-20118
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Andre Dietisheim
> Assignee: Jeff Cantrill
> Priority: Critical
> Fix For: 4.3.0.Beta2
>
>
> Build currently fails with the following failures in our test suite:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_...
> {code:title=org.jboss.tools.openshift.test.AllTestsSuite}
> Failed tests:
> CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors:100
> Wanted but not invoked:
> template.addLabel(<any>, <any>);
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:100)
> However, there were other interactions with this mock:
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:95)
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:95)
> NewApplicationWizardModelTest.setTemplateShouldCopyParametersAndLabels:76 array lengths differed, expected.length=1 actual.length=0
> Tests run: 120, Failures: 2, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-20118) Test failures after merging JBIDE-19958
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20118?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-20118:
------------------------------------------
merging JBIDE-20076 fixed this. See jenkins:
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/846/}
Tests run: 120, Failures: 0, Errors: 0, Skipped: 0
[INFO] All tests passed!
[INFO]
[INFO] --- repository-utils:0.22.1-SNAPSHOT:compare-version-with-baselines (default) @ org.jboss.tools.openshift.test ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] openshift.tests .................................... SUCCESS [ 0.440 s]
[INFO] org.jboss.tools.openshift.egit.test ................ SUCCESS [ 20.959 s]
[INFO] org.jboss.tools.openshift.express.test ............. SUCCESS [ 21.253 s]
[INFO] org.jboss.tools.openshift.test ..................... SUCCESS [ 16.772 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:32 min
[INFO] Finished at: 2015-06-18T13:53:25-04:00
[INFO] Final Memory: 65M/647M
[INFO] ------------------------------------------------------------------------
{code}
> Test failures after merging JBIDE-19958
> ---------------------------------------
>
> Key: JBIDE-20118
> URL: https://issues.jboss.org/browse/JBIDE-20118
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Andre Dietisheim
> Assignee: Jeff Cantrill
> Priority: Critical
> Fix For: 4.3.0.Beta2
>
>
> Build currently fails with the following failures in our test suite:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_...
> {code:title=org.jboss.tools.openshift.test.AllTestsSuite}
> Failed tests:
> CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors:100
> Wanted but not invoked:
> template.addLabel(<any>, <any>);
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:100)
> However, there were other interactions with this mock:
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:95)
> -> at org.jboss.tools.openshift.test.ui.job.CreateApplicationFromTemplateJobTest.shouldReturnInfoStatusWhenAllResourcesCreatedWithoutErrors(CreateApplicationFromTemplateJobTest.java:95)
> NewApplicationWizardModelTest.setTemplateShouldCopyParametersAndLabels:76 array lengths differed, expected.length=1 actual.length=0
> Tests run: 120, Failures: 2, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[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 commented on JBIDE-19946:
-------------------------------------------
Hey [~maxandersen] or [~nickboldt], just started looking into this and I'm seeing this...
What would be causing this error in Tycho? Is it because I'm trying to build with Java 7 and not Java 8?
Sorry, just getting back to these issues this week.
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
java.lang.RuntimeException: Bundle org.jboss.tools.ws.core.test is not found
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.getBundleCla
ssLoader(OsgiSurefireBooter.java:162)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.createCombin
edClassLoader(OsgiSurefireBooter.java:98)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSure
fireBooter.java:91)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication$1.run
(AbstractUITestApplication.java:35)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja
va:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(Pa
rtRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Part
RenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Wor
kbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:598)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:139)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplicatio
n(UITestApplication.java:31)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(A
bstractUITestApplication.java:120)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestA
pplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
{code}
> 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)
10 years, 9 months
[JBoss JIRA] (JBIDE-20123) StackOverflowError when calling 'Port forwarding...'
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20123?page=com.atlassian.jira.plugi... ]
Snjezana Peco commented on JBIDE-20123:
---------------------------------------
The PR fixes the issue in the openshift component, but it would also be necessary to fix the client's jar.
> StackOverflowError when calling 'Port forwarding...'
> ----------------------------------------------------
>
> Key: JBIDE-20123
> URL: https://issues.jboss.org/browse/JBIDE-20123
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Alpha2
> Reporter: Snjezana Peco
> Assignee: Snjezana Peco
> Fix For: 4.3.0.Beta2
>
>
> The issue happens because StandaloneCartridgeResource.toString()/ApplicationResource.toString() methods from openshift-java-client-2.7.0.Final.jar are called recursively.
> Stacktrace:
> !MESSAGE An internal error occurred during: "Verifying SSH session...".
> !STACK 0
> java.lang.StackOverflowError
> at java.lang.StringBuilder.append(StringBuilder.java:136)
> at sun.util.locale.provider.LocaleResources.getTimeZoneNames(LocaleResources.java:255)
> at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayNameArray(TimeZoneNameProviderImpl.java:122)
> at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayName(TimeZoneNameProviderImpl.java:98)
> at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getName(TimeZoneNameUtility.java:328)
> at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:281)
> at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:267)
> at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
> at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:265)
> at sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(TimeZoneNameUtility.java:135)
> at java.util.TimeZone.getDisplayName(TimeZone.java:400)
> at java.util.Date.toString(Date.java:1045)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.ApplicationResource.toString(ApplicationResource.java:1015)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.StandaloneCartridgeResource.toString(StandaloneCartridgeResource.java:174)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.ApplicationResource.toString(ApplicationResource.java:1015)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.StandaloneCartridgeResource.toString(StandaloneCartridgeResource.java:174)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-20123) StackOverflowError when calling 'Port forwarding...'
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20123?page=com.atlassian.jira.plugi... ]
Snjezana Peco updated JBIDE-20123:
----------------------------------
Description:
The issue happens because StandaloneCartridgeResource.toString()/ApplicationResource.toString() methods from openshift-java-client-2.7.0.Final.jar are called recursively.
Stacktrace:
!MESSAGE An internal error occurred during: "Verifying SSH session...".
!STACK 0
java.lang.StackOverflowError
at java.lang.StringBuilder.append(StringBuilder.java:136)
at sun.util.locale.provider.LocaleResources.getTimeZoneNames(LocaleResources.java:255)
at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayNameArray(TimeZoneNameProviderImpl.java:122)
at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayName(TimeZoneNameProviderImpl.java:98)
at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getName(TimeZoneNameUtility.java:328)
at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:281)
at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:267)
at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:265)
at sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(TimeZoneNameUtility.java:135)
at java.util.TimeZone.getDisplayName(TimeZone.java:400)
at java.util.Date.toString(Date.java:1045)
at java.lang.String.valueOf(String.java:2982)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at com.openshift.internal.client.ApplicationResource.toString(ApplicationResource.java:1015)
at java.lang.String.valueOf(String.java:2982)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at com.openshift.internal.client.StandaloneCartridgeResource.toString(StandaloneCartridgeResource.java:174)
at java.lang.String.valueOf(String.java:2982)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at com.openshift.internal.client.ApplicationResource.toString(ApplicationResource.java:1015)
at java.lang.String.valueOf(String.java:2982)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at com.openshift.internal.client.StandaloneCartridgeResource.toString(StandaloneCartridgeResource.java:174)
> StackOverflowError when calling 'Port forwarding...'
> ----------------------------------------------------
>
> Key: JBIDE-20123
> URL: https://issues.jboss.org/browse/JBIDE-20123
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Alpha2
> Reporter: Snjezana Peco
> Assignee: Snjezana Peco
> Fix For: 4.3.0.Beta2
>
>
> The issue happens because StandaloneCartridgeResource.toString()/ApplicationResource.toString() methods from openshift-java-client-2.7.0.Final.jar are called recursively.
> Stacktrace:
> !MESSAGE An internal error occurred during: "Verifying SSH session...".
> !STACK 0
> java.lang.StackOverflowError
> at java.lang.StringBuilder.append(StringBuilder.java:136)
> at sun.util.locale.provider.LocaleResources.getTimeZoneNames(LocaleResources.java:255)
> at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayNameArray(TimeZoneNameProviderImpl.java:122)
> at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayName(TimeZoneNameProviderImpl.java:98)
> at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getName(TimeZoneNameUtility.java:328)
> at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:281)
> at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:267)
> at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
> at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:265)
> at sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(TimeZoneNameUtility.java:135)
> at java.util.TimeZone.getDisplayName(TimeZone.java:400)
> at java.util.Date.toString(Date.java:1045)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.ApplicationResource.toString(ApplicationResource.java:1015)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.StandaloneCartridgeResource.toString(StandaloneCartridgeResource.java:174)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.ApplicationResource.toString(ApplicationResource.java:1015)
> at java.lang.String.valueOf(String.java:2982)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at com.openshift.internal.client.StandaloneCartridgeResource.toString(StandaloneCartridgeResource.java:174)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-20039) Application wizard: templates tree should look disabled when I switch to use templates from local disk (Linux GTK3 only)
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20039?page=com.atlassian.jira.plugi... ]
Snjezana Peco commented on JBIDE-20039:
---------------------------------------
The issue is reproducible on GTK >= 3.14.
The PR fixes the issue, but it will be necessary to review it after fixing https://bugs.eclipse.org/bugs/show_bug.cgi?id=466499
> Application wizard: templates tree should look disabled when I switch to use templates from local disk (Linux GTK3 only)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-20039
> URL: https://issues.jboss.org/browse/JBIDE-20039
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift, upstream
> Affects Versions: 4.3.0.Beta1
> Reporter: Andre Dietisheim
> Assignee: Snjezana Peco
> Priority: Minor
> Labels: application_wizard, openshift_v3
> Fix For: 4.3.0.Beta2
>
> Attachments: my_wizard_with_disabled_tree.png, templates-tree-no-disabled.png
>
>
> steps to reproduce:
> # ASSERT: make sure that you have a connection to a v3 OpenShift server in explorer
> # EXEC: in Explorer: pick "New"->"Application" from context menu when selecting a project in your connection
> # ASSERT: application wizard pops up, radio "Use a template from server" is preselected
> # EXEC: switch radio "Use a template from my local file system"
> Result:
> There's no visual indication that the tree with server templates is not clickable any more. The "problem" is only visual, the tree is not clickable but doesnt look disabled for me.
> !templates-tree-no-disabled.png!
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months