[JBoss JIRA] (JBIDE-21386) Create and use Neon M5 target platform
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21386?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-21386:
-------------------------------------
[~nickboldt] yes *org.eclipse.wst.jsdt.js.node* bundle was removed from the repo completely due to reimplementing bower / npm calls via cli. However, two more bundles were added (org.eclipse.wst.jsdt.js.common & org.eclipse.wst.jsdt.js.cli) due to this change - those two reflected in p2diff . Basically, In jsdt there is only one feature with all node.js related stuff - *org.eclipse.wst.jsdt.nodejs.feature* and I it is included in the TP - https://github.com/mickaelistria/jbosstools-target-platforms/commit/b23d4...
> Create and use Neon M5 target platform
> --------------------------------------
>
> Key: JBIDE-21386
> URL: https://issues.jboss.org/browse/JBIDE-21386
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: target-platform, upstream
> Affects Versions: 4.4.0.Alpha1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Priority: Critical
> Fix For: 4.4.0.Alpha1
>
> Attachments: jbds-tp-p2diff-460-summary.txt, jbds-tp-p2diff-460.txt, jbt-tp-p2diff-460-summary.txt, jbt-tp-p2diff-460.txt, jbtcentral-p2diff_460.txt
>
>
> Prepare TP to use Neon M5 bits. Cloned from JBIDE-20976 so I can start a fresh issue.
> https://wiki.eclipse.org/index.php?title=Neon/Simultaneous_Release_Plan#S...
> Story points: 21 (fibonacci)
> * jbt tp,
> * jbds tp,
> * central tp;
> * jbt-build-sites,
> * jbds site build;
> * update install/matrix jobs to use new Eclipse JEE/platform binary;
> * mailing list announcements
--
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/2/16 11:15 AM:
--------------------------------------------------------------
I have a different NPE when using the foundation code from 4.3.x:
{noformat}
java.lang.NullPointerException
at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:908)
at org.jboss.tools.foundation.core.credentials.internal.CredentialDomain.saveToPreferences(CredentialDomain.java:166)
at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.save(CredentialsModel.java:259)
at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:139)
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(Native Method)
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(Native Method)
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(Native Method)
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)
{noformat}
screencast http://screencast.com/t/7VCUcqzbLsf
it fails on that line:
{code}
prefs.put(PROPERTY_NAME, userVisibleName);
{code}
userVisibleName is null, for some reason
was (Author: fbricon):
I have a different NPE when using the foundation code from 4.3.x:
{noformat}
java.lang.NullPointerException
at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:908)
at org.jboss.tools.foundation.core.credentials.internal.CredentialDomain.saveToPreferences(CredentialDomain.java:166)
at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.save(CredentialsModel.java:259)
at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:139)
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(Native Method)
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(Native Method)
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(Native Method)
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)
{noformat}
screencast http://screencast.com/t/7VCUcqzbLsf
> [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 commented on JBIDE-21795:
-------------------------------------
I have a different NPE when using the foundation code from 4.3.x:
{noformat}
java.lang.NullPointerException
at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:908)
at org.jboss.tools.foundation.core.credentials.internal.CredentialDomain.saveToPreferences(CredentialDomain.java:166)
at org.jboss.tools.foundation.core.credentials.internal.CredentialsModel.save(CredentialsModel.java:259)
at org.jboss.tools.foundation.ui.credentials.ChooseCredentialComponent.addUserPressed(ChooseCredentialComponent.java:139)
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(Native Method)
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(Native Method)
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(Native Method)
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)
{noformat}
screencast http://screencast.com/t/7VCUcqzbLsf
> [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-21791) Forge addon - Changing the current file may cause a "file has changed in file vs memory" issue in Eclipse
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21791?page=com.atlassian.jira.plugi... ]
George Gastaldi edited comment on JBIDE-21791 at 3/2/16 11:04 AM:
------------------------------------------------------------------
Ok, I appreciate your feedback although I don't fully agree with your argument of this proposed solution being very crappy :)
If I understand correctly, that would require changing the Forge Resource API to fire an event before a Resource is read. Then we could bind a listener to save the file to the disk before it is read. But I am not sure it is worth investing time in implementing this given that the benefit is minimal compared to the proposed solution IMHO.
was (Author: gastaldi):
Ok, I appreciate your feedback although I don't fully agree with your argument of this proposed solution being very crappy :)
If I understand correctly, that would require changing the Forge Resource API to fire an event before a Resource is read. Then we could bind a listener to save the file to the disk before it is read.
> 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-21667) Make computing property names more conspicuous
by Jeff Cantrill (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21667?page=com.atlassian.jira.plugi... ]
Jeff Cantrill commented on JBIDE-21667:
---------------------------------------
Working on replacing the first example with the code that exists from the rest client ResourceKind.pluralize. I don't believe we do this in many places but its probably not worth the effort at the moment to do an extensive analysis of the code base.
The second example is misleading since we are dynamically associating a declared id with an observable property. I don't see how this can be changed since this class generically handles various resource types. We rely on the plugin.xml id to match the kind and resource we wish to display in the tabbed view.
> Make computing property names more conspicuous
> ----------------------------------------------
>
> Key: JBIDE-21667
> URL: https://issues.jboss.org/browse/JBIDE-21667
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Viacheslav Kabanovich
> Assignee: Jeff Cantrill
> Labels: code_quality
> Fix For: 4.4.0.Alpha1
>
>
> Created as follow up to JBIDE-21590.
> Property names of resources are computed in two places.
> - From kind of resource in ResourcesUIModel:
> {code}
> private static String getProperty(String kind) {
> return StringUtils.pluralize(kind.toLowerCase());
> }
> {code}
> - From tab id in OpenShiftResourcePropertySection.setInput :
> {code}
> String property = org.apache.commons.lang.StringUtils.right(id, id.length() - id.lastIndexOf(".") - 1);
> {code}
> Maybe, there are more places that transform something to property name, I am not aware of them yet. But, imho, even if they are only 2 places and no other will appear, they are too much related to be separate and hidden in the depth of implementation. I suggest a utility that will encapsulate all manipulations with resource property names, (being in an internal package it may have public methods without getting into API), and describe in Java docs in details how it works. Tests for this utility may help to find early if some modification breaks consistency of related names.
--
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 George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21791?page=com.atlassian.jira.plugi... ]
George Gastaldi commented on JBIDE-21791:
-----------------------------------------
Ok, I appreciate your feedback although I don't fully agree with your argument of this proposed solution being very crappy :)
If I understand correctly, that would require changing the Forge Resource API to fire an event before a Resource is read. Then we could bind a listener to save the file to the disk before it is read.
> 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