]
Fred Bricon updated JBIDE-21795:
--------------------------------
Priority: Critical (was: Major)
[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.