[
https://issues.jboss.org/browse/JBIDE-17535?page=com.atlassian.jira.plugi...
]
Nick Boldt updated JBIDE-17535:
-------------------------------
Steps to Reproduce:
0. Install /home/nboldt/tmp/Eclipse_Bundles/eclipse-jee-luna-M7-linux-gtk-x86_64.tar.gz
1. Using clean workspace, launch Eclipse and install JBoss Tools Community Central feature
(not all of JBT, just that feature)
2. Shut down when prompted and point JBT at a locally-built discovery site by adding this
into your eclipse.ini file:
{code}
-Djboss.discovery.directory.url=http://localhost:8080/jbosstools/org.jboss.tools.central.discovery.earlyaccess/target/discovery-site/jbosstools-directory.xml
-Djboss.discovery.site.url=http://localhost:8080/jbosstools/org.jboss.tools.central.discovery.earlyaccess/target/discovery-site/
-Djboss.discovery.earlyaccess.site.url=http://localhost:8080/jbosstools/org.jboss.tools.central.discovery.earlyaccess/target/discovery-site/{code}
3. Launch Eclipse, open Central
4. Enable Early Access features, scroll through the list of features (3), and then disable
Early Access features.
5. And boom goes the NPE.
NPE thrown when toggling Early Access category content on/off
-------------------------------------------------------------
Key: JBIDE-17535
URL:
https://issues.jboss.org/browse/JBIDE-17535
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central, discovery
Affects Versions: 4.2.0.Beta2
Environment: Fedora 18, sun-java-8.0,
eclipse-jee-luna-M7-linux-gtk-x86_64.tar.gz
$➔ uname -a; java -version
Linux thunk 3.11.9-100.fc18.x86_64 #1 SMP Wed Nov 20 21:22:39 UTC 2013 x86_64 x86_64
x86_64 GNU/Linux
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
Reporter: Nick Boldt
Attachments: JBT42b2-early-access-new-category-proposed-throws-NPE.png
with
https://github.com/jbosstools/jbosstools-discovery/pull/165/files applied, if you
toggle the EA content on/off via the checkbox, a nasty NPE is thrown each time:
{code:title=Unhandled event loop exception}
java.lang.NullPointerException
at org.jboss.tools.central.editors.SoftwarePage$8.widgetSelected(SoftwarePage.java:353)
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:4462)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3806)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:379)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
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:483)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)