Community
Participate
Working Groups
I'm testing Photon M6, and the Target Editor seems to have a significant bug. After defining the target, I move to the Content tab, and select plugins, the boxes are checked, but the summary line continues to say 0 / X. In addition, the Source tab is not updated with the plugin list. I'm using the RCP package. Issue seems to be around the "Select All" button, as manual selection works. Check box for displaying Source bundles also appears not to work. The filter box appears not to work either, changing it's content generates an NPE. Attempting to save the file after manual selection clears all selections. The following appears in the .log: !ENTRY org.eclipse.ui 4 0 2018-03-23 12:45:33.307 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.pde.internal.ui.shared.target.TargetContentsGroup$TreeContentProvider.getElements(TargetContentsGroup.java:1176) at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:994) at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:701) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1393) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:341) at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:900) at org.eclipse.pde.internal.ui.shared.CachedCheckboxTreeViewer.setAllChecked(CachedCheckboxTreeViewer.java:184) at org.eclipse.pde.internal.ui.shared.target.TargetContentsGroup.lambda$7(TargetContentsGroup.java:479) at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4433) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1086) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4243) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3822) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:681) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:595) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) 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:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592) at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
Created attachment 273284 [details] Log File This is a log file, from a new workspace. I then imported projects, then opened, edited and tried to save the target.
Created attachment 273285 [details] Oxygen.3 target file. This is the target file prior to import and edit by Photon M6.
Created attachment 273286 [details] Photon M6 Target file This is the same file after import and edit by Photon M6.
Do you still see this problem in the latest build of 2018-12 from http://download.eclipse.org/eclipse/downloads/
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.