[JBoss JIRA] (JBIDE-21795) [CDK Server Wizard] NPE when adding a new Username
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21795?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-21795.
---------------------------------
So I guess we'll have to close this and hope it's fixed. We can reopen if anyone ever sees this again.
> [CDK Server Wizard] NPE when adding a new Username
> ---------------------------------------------------
>
> Key: JBIDE-21795
> URL: https://issues.jboss.org/browse/JBIDE-21795
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.3.1.CR1
>
>
> The following incident was reported via the automated error reporting:
> The user(s) left the following comments:
> --- Fred Bricon wrote: ---
> Opened new Server wizard,
> selected CDK server,
> clicked on "Add..." button on username line
>
> code: 0
> plugin: org.eclipse.ui_3.107.0.v20150507-1945
> message: Unhandled event loop exception
> fingerprint: 9d325d266855ea6cd9425941c0fecec0
> exception class: java.lang.NullPointerException
> exception message: -
> number of children: 0
>
> java.lang.NullPointerException: null
> at java.lang.String.compareTo(String.java:1155)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:198)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:1)
> at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
> at java.util.TimSort.sort(TimSort.java:220)
> at java.util.Arrays.sort(Arrays.java:1512)
> at java.util.ArrayList.sort(ArrayList.java:1454)
> at java.util.Collections.sort(Collections.java:175)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.getDomains(CredentialsModel.java:196)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.createDialogArea(NewCredentialUserDialog.java:118)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> at org.eclipse.jface.window.Window.create(Window.java:430)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.create(NewCredentialUserDialog.java:84)
> at org.eclipse.jface.window.Window.open(Window.java:792)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:130)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.access$1(ChooseCredentialComponent.java:126)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent$3.widgetSelected(ChooseCredentialComponent.java:121)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1564)
> at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:6010)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(OS.java:-2)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
> at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
> at org.eclipse.swt.widgets.Display.sleep(Display.java:4740)
> at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:858)
> at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:521)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1132)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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)
>
>
> General Information:
> reported-by: Fred Bricon
> anonymous-id: edd62de2-d4be-4d9f-8cab-817f6b18834d
> eclipse-build-id: 4.5.2.M20160113-1000
> eclipse-product: org.eclipse.platform.ide
> operating system: MacOSX 10.10.5 (x86_64) - cocoa
> jre-version: 1.8.0_65-b17
> The following plug-ins were present on the execution stack (*):
> 1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
> 2. org.eclipse.core.databinding_1.5.0.v20150422-0725
> 3. org.eclipse.core.runtime_3.11.1.v20150903-1804
> 4. org.eclipse.e4.ui.workbench_1.3.1.v20160107-1220
> 5. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
> 6. org.eclipse.equinox.app_1.3.300.v20150423-1356
> 7. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
> 8. org.eclipse.jface_3.11.0.v20151124-1540
> 9. org.eclipse.swt_3.104.1.v20160113-0811
> 10. org.eclipse.ui_3.107.0.v20150507-1945
> 11. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
> 12. org.eclipse.ui.ide_3.11.0.v20150825-2158
> 13. org.eclipse.wst.server.ui_1.5.202.v201602111638
> 14. org.jboss.tools.foundation.core_1.2.1.qualifier
> 15. org.jboss.tools.foundation.ui_1.2.1.qualifier
> Please note that:
> * Messages, stacktraces, and nested status objects may be shortened.
> * Bug fields like status, resolution, and whiteboard are sent
> back to reporters.
> * The list of present bundles and their respective versions was
> calculated by package naming heuristics. This may or may not reflect reality.
> Other Resources:
> * Report: https://redhat.ctrlflow.com/committers/#/problems/56d47a21e4b0a0de48c2b252
> * Manual: https://redhat.ctrlflow.com/community/#/guide
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21830) Server Adapter wizard: route selected by default is wrong
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21830?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-21830:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure that you have several apps in the same project (and then of course you'll have several routes)
# EXEC: launch server adapter wizard (either via "Servers" view > New > OpenShift > OpenShift 3 or via+underlined text+ context menu "Server Adapter" to a service in explorer)
# EXEC: in server adapter wizard: select 2nd service (or any service other than the 1st)
# EXEC: unfold "Advanced >>" and inspect
Result:
The route that is selected by default is not the right one.
!wrong-default-route.png!
# EXEC: select a different route
# ASSERT: default route should switch over
Result:
It's not changing, it stays the same
was:
# ASSERT: make sure that you have several apps in the same project (and then of course you'll have several routes)
# EXEC: launch server adapter wizard (either via "Servers" view > New > OpenShift > OpenShift 3 or via+underlined text+ context menu "Server Adapter" to a service in explorer)
# EXEC: in server adapter wizard: select 2nd service (or any service other than the 1st)
# EXEC: unfold "Advanced >>" and inspect
> Server Adapter wizard: route selected by default is wrong
> ---------------------------------------------------------
>
> Key: JBIDE-21830
> URL: https://issues.jboss.org/browse/JBIDE-21830
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.3.1.CR1
>
> Attachments: wrong-default-route.png
>
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21795) [CDK Server Wizard] NPE when adding a new Username
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21795?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-21795:
-------------------------------------
unfoirtunately I don't have an empty domain anymore, so hard to test here too
> [CDK Server Wizard] NPE when adding a new Username
> ---------------------------------------------------
>
> Key: JBIDE-21795
> URL: https://issues.jboss.org/browse/JBIDE-21795
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.3.1.CR1
>
>
> The following incident was reported via the automated error reporting:
> The user(s) left the following comments:
> --- Fred Bricon wrote: ---
> Opened new Server wizard,
> selected CDK server,
> clicked on "Add..." button on username line
>
> code: 0
> plugin: org.eclipse.ui_3.107.0.v20150507-1945
> message: Unhandled event loop exception
> fingerprint: 9d325d266855ea6cd9425941c0fecec0
> exception class: java.lang.NullPointerException
> exception message: -
> number of children: 0
>
> java.lang.NullPointerException: null
> at java.lang.String.compareTo(String.java:1155)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:198)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:1)
> at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
> at java.util.TimSort.sort(TimSort.java:220)
> at java.util.Arrays.sort(Arrays.java:1512)
> at java.util.ArrayList.sort(ArrayList.java:1454)
> at java.util.Collections.sort(Collections.java:175)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.getDomains(CredentialsModel.java:196)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.createDialogArea(NewCredentialUserDialog.java:118)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> at org.eclipse.jface.window.Window.create(Window.java:430)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.create(NewCredentialUserDialog.java:84)
> at org.eclipse.jface.window.Window.open(Window.java:792)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:130)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.access$1(ChooseCredentialComponent.java:126)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent$3.widgetSelected(ChooseCredentialComponent.java:121)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1564)
> at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:6010)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(OS.java:-2)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
> at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
> at org.eclipse.swt.widgets.Display.sleep(Display.java:4740)
> at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:858)
> at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:521)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1132)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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)
>
>
> General Information:
> reported-by: Fred Bricon
> anonymous-id: edd62de2-d4be-4d9f-8cab-817f6b18834d
> eclipse-build-id: 4.5.2.M20160113-1000
> eclipse-product: org.eclipse.platform.ide
> operating system: MacOSX 10.10.5 (x86_64) - cocoa
> jre-version: 1.8.0_65-b17
> The following plug-ins were present on the execution stack (*):
> 1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
> 2. org.eclipse.core.databinding_1.5.0.v20150422-0725
> 3. org.eclipse.core.runtime_3.11.1.v20150903-1804
> 4. org.eclipse.e4.ui.workbench_1.3.1.v20160107-1220
> 5. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
> 6. org.eclipse.equinox.app_1.3.300.v20150423-1356
> 7. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
> 8. org.eclipse.jface_3.11.0.v20151124-1540
> 9. org.eclipse.swt_3.104.1.v20160113-0811
> 10. org.eclipse.ui_3.107.0.v20150507-1945
> 11. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
> 12. org.eclipse.ui.ide_3.11.0.v20150825-2158
> 13. org.eclipse.wst.server.ui_1.5.202.v201602111638
> 14. org.jboss.tools.foundation.core_1.2.1.qualifier
> 15. org.jboss.tools.foundation.ui_1.2.1.qualifier
> Please note that:
> * Messages, stacktraces, and nested status objects may be shortened.
> * Bug fields like status, resolution, and whiteboard are sent
> back to reporters.
> * The list of present bundles and their respective versions was
> calculated by package naming heuristics. This may or may not reflect reality.
> Other Resources:
> * Report: https://redhat.ctrlflow.com/committers/#/problems/56d47a21e4b0a0de48c2b252
> * Manual: https://redhat.ctrlflow.com/community/#/guide
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21795) [CDK Server Wizard] NPE when adding a new Username
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21795?page=com.atlassian.jira.plugi... ]
Fred Bricon edited comment on JBIDE-21795 at 3/8/16 10:42 AM:
--------------------------------------------------------------
unfortunately I don't have an empty domain anymore, so hard to test here too
was (Author: fbricon):
unfoirtunately I don't have an empty domain anymore, so hard to test here too
> [CDK Server Wizard] NPE when adding a new Username
> ---------------------------------------------------
>
> Key: JBIDE-21795
> URL: https://issues.jboss.org/browse/JBIDE-21795
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.3.1.CR1
>
>
> The following incident was reported via the automated error reporting:
> The user(s) left the following comments:
> --- Fred Bricon wrote: ---
> Opened new Server wizard,
> selected CDK server,
> clicked on "Add..." button on username line
>
> code: 0
> plugin: org.eclipse.ui_3.107.0.v20150507-1945
> message: Unhandled event loop exception
> fingerprint: 9d325d266855ea6cd9425941c0fecec0
> exception class: java.lang.NullPointerException
> exception message: -
> number of children: 0
>
> java.lang.NullPointerException: null
> at java.lang.String.compareTo(String.java:1155)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:198)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:1)
> at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
> at java.util.TimSort.sort(TimSort.java:220)
> at java.util.Arrays.sort(Arrays.java:1512)
> at java.util.ArrayList.sort(ArrayList.java:1454)
> at java.util.Collections.sort(Collections.java:175)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.getDomains(CredentialsModel.java:196)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.createDialogArea(NewCredentialUserDialog.java:118)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> at org.eclipse.jface.window.Window.create(Window.java:430)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.create(NewCredentialUserDialog.java:84)
> at org.eclipse.jface.window.Window.open(Window.java:792)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:130)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.access$1(ChooseCredentialComponent.java:126)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent$3.widgetSelected(ChooseCredentialComponent.java:121)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1564)
> at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:6010)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(OS.java:-2)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
> at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
> at org.eclipse.swt.widgets.Display.sleep(Display.java:4740)
> at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:858)
> at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:521)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1132)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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)
>
>
> General Information:
> reported-by: Fred Bricon
> anonymous-id: edd62de2-d4be-4d9f-8cab-817f6b18834d
> eclipse-build-id: 4.5.2.M20160113-1000
> eclipse-product: org.eclipse.platform.ide
> operating system: MacOSX 10.10.5 (x86_64) - cocoa
> jre-version: 1.8.0_65-b17
> The following plug-ins were present on the execution stack (*):
> 1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
> 2. org.eclipse.core.databinding_1.5.0.v20150422-0725
> 3. org.eclipse.core.runtime_3.11.1.v20150903-1804
> 4. org.eclipse.e4.ui.workbench_1.3.1.v20160107-1220
> 5. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
> 6. org.eclipse.equinox.app_1.3.300.v20150423-1356
> 7. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
> 8. org.eclipse.jface_3.11.0.v20151124-1540
> 9. org.eclipse.swt_3.104.1.v20160113-0811
> 10. org.eclipse.ui_3.107.0.v20150507-1945
> 11. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
> 12. org.eclipse.ui.ide_3.11.0.v20150825-2158
> 13. org.eclipse.wst.server.ui_1.5.202.v201602111638
> 14. org.jboss.tools.foundation.core_1.2.1.qualifier
> 15. org.jboss.tools.foundation.ui_1.2.1.qualifier
> Please note that:
> * Messages, stacktraces, and nested status objects may be shortened.
> * Bug fields like status, resolution, and whiteboard are sent
> back to reporters.
> * The list of present bundles and their respective versions was
> calculated by package naming heuristics. This may or may not reflect reality.
> Other Resources:
> * Report: https://redhat.ctrlflow.com/committers/#/problems/56d47a21e4b0a0de48c2b252
> * Manual: https://redhat.ctrlflow.com/community/#/guide
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21795) [CDK Server Wizard] NPE when adding a new Username
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21795?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-21795:
---------------------------------------
[~fbricon], any chance you can verify the fix in a recent nightly of 4.3.x? I would need a workspace with an empty domain which is hard to come by.
> [CDK Server Wizard] NPE when adding a new Username
> ---------------------------------------------------
>
> Key: JBIDE-21795
> URL: https://issues.jboss.org/browse/JBIDE-21795
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.3.1.CR1
>
>
> The following incident was reported via the automated error reporting:
> The user(s) left the following comments:
> --- Fred Bricon wrote: ---
> Opened new Server wizard,
> selected CDK server,
> clicked on "Add..." button on username line
>
> code: 0
> plugin: org.eclipse.ui_3.107.0.v20150507-1945
> message: Unhandled event loop exception
> fingerprint: 9d325d266855ea6cd9425941c0fecec0
> exception class: java.lang.NullPointerException
> exception message: -
> number of children: 0
>
> java.lang.NullPointerException: null
> at java.lang.String.compareTo(String.java:1155)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:198)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel$1.compare(CredentialsModel.java:1)
> at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
> at java.util.TimSort.sort(TimSort.java:220)
> at java.util.Arrays.sort(Arrays.java:1512)
> at java.util.ArrayList.sort(ArrayList.java:1454)
> at java.util.Collections.sort(Collections.java:175)
> at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.getDomains(CredentialsModel.java:196)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.createDialogArea(NewCredentialUserDialog.java:118)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> at org.eclipse.jface.window.Window.create(Window.java:430)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.jboss.tools.foundation.ui.credentials.internal.NewCredentialUserDialog.create(NewCredentialUserDialog.java:84)
> at org.eclipse.jface.window.Window.open(Window.java:792)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:130)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.access$1(ChooseCredentialComponent.java:126)
> at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent$3.widgetSelected(ChooseCredentialComponent.java:121)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1564)
> at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:6010)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(OS.java:-2)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
> at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
> at org.eclipse.swt.widgets.Display.sleep(Display.java:4740)
> at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:858)
> at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:521)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1132)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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)
>
>
> General Information:
> reported-by: Fred Bricon
> anonymous-id: edd62de2-d4be-4d9f-8cab-817f6b18834d
> eclipse-build-id: 4.5.2.M20160113-1000
> eclipse-product: org.eclipse.platform.ide
> operating system: MacOSX 10.10.5 (x86_64) - cocoa
> jre-version: 1.8.0_65-b17
> The following plug-ins were present on the execution stack (*):
> 1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
> 2. org.eclipse.core.databinding_1.5.0.v20150422-0725
> 3. org.eclipse.core.runtime_3.11.1.v20150903-1804
> 4. org.eclipse.e4.ui.workbench_1.3.1.v20160107-1220
> 5. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
> 6. org.eclipse.equinox.app_1.3.300.v20150423-1356
> 7. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
> 8. org.eclipse.jface_3.11.0.v20151124-1540
> 9. org.eclipse.swt_3.104.1.v20160113-0811
> 10. org.eclipse.ui_3.107.0.v20150507-1945
> 11. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
> 12. org.eclipse.ui.ide_3.11.0.v20150825-2158
> 13. org.eclipse.wst.server.ui_1.5.202.v201602111638
> 14. org.jboss.tools.foundation.core_1.2.1.qualifier
> 15. org.jboss.tools.foundation.ui_1.2.1.qualifier
> Please note that:
> * Messages, stacktraces, and nested status objects may be shortened.
> * Bug fields like status, resolution, and whiteboard are sent
> back to reporters.
> * The list of present bundles and their respective versions was
> calculated by package naming heuristics. This may or may not reflect reality.
> Other Resources:
> * Report: https://redhat.ctrlflow.com/committers/#/problems/56d47a21e4b0a0de48c2b252
> * Manual: https://redhat.ctrlflow.com/community/#/guide
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21828) OpenShift Explorer view flickers when refreshing a service
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21828?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-21828:
-----------------------------------------------
ConnectionsRegistry.fireChange() now for each change schedules a new job to notify listeners of connectionChanged(), and ResourcesUIModel fires updates to view in syncExec - that is each job has to wait to see its effect in UI. That may cause the flickering.
> OpenShift Explorer view flickers when refreshing a service
> ----------------------------------------------------------
>
> Key: JBIDE-21828
> URL: https://issues.jboss.org/browse/JBIDE-21828
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
> Attachments: Screenshot 2016-03-08 10.32.39.png
>
>
> When calling the "Refresh" command on a service, the tree view flickers because of too many refresh calls.
> Adding some traces revealed 25 calls to {{BaseExplorerContentProvider#refreshViewer(Object)}}, which seems way too much for a service with a single pod.
> Attachement: screenshot of the OpenShift Server view, showing 2 projects, one of which has 3 services.
> Custom/added logs in the console:
> {code}
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/mongodb
> Refreshing viewer from sample/mongodb
> Refreshing viewer from sample/mongodb
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21791) Forge addon - Changing the current file may cause a "file has changed in file vs memory" issue in Eclipse
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21791?page=com.atlassian.jira.plugi... ]
Lincoln Baxter III commented on JBIDE-21791:
--------------------------------------------
If a user has unsaved files, I think a decent middle-ground would be to ask the user if they want to save all files first. If they say yes, save them. If they say no, continue and let them be annoyed by "file has changed" messages. But even that is annoying, because you could have a completely unrelated unsaved file open and that would trigger this behavior.
I'd also recommend making this a configurable option, so the user can mark a check-box for: "[x] Remember my choice." so they don't have to be bugged by this over and over again if they don't want to.
> Forge addon - Changing the current file may cause a "file has changed in file vs memory" issue in Eclipse
> ---------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21791
> URL: https://issues.jboss.org/browse/JBIDE-21791
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.3.1.Beta2
> Reporter: Claus Ibsen
> Assignee: George Gastaldi
> Fix For: 4.3.1.CR1
>
> Attachments: eclipse-add.png
>
>
> Similar problem as FORGE-2605 but this time its in Eclipse.
> See the attached screenshot, where I have edited the file camel-context.xml, and then run my forge command, which would insert a Camel endpoint at the cursor position. But eclipse has detected a file conflict as in that dialog.
> I wonder if the fix should be like in IDEA to save the file before the command is run.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21828) OpenShift Explorer view flickers when refreshing a service
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21828?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-21828:
-------------------------------------
Could be related to JBIDE-21449?
> OpenShift Explorer view flickers when refreshing a service
> ----------------------------------------------------------
>
> Key: JBIDE-21828
> URL: https://issues.jboss.org/browse/JBIDE-21828
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
> Attachments: Screenshot 2016-03-08 10.32.39.png
>
>
> When calling the "Refresh" command on a service, the tree view flickers because of too many refresh calls.
> Adding some traces revealed 25 calls to {{BaseExplorerContentProvider#refreshViewer(Object)}}, which seems way too much for a service with a single pod.
> Attachement: screenshot of the OpenShift Server view, showing 2 projects, one of which has 3 services.
> Custom/added logs in the console:
> {code}
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/mongodb
> Refreshing viewer from sample/mongodb
> Refreshing viewer from sample/mongodb
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/jee-sample
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from sample/nodejs-mongodb-example
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month