Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 150360 - Manifest editor should handle concurrent extension point schema change
Summary: Manifest editor should handle concurrent extension point schema change
Status: RESOLVED WORKSFORME
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 321781
  Show dependency tree
 
Reported: 2006-07-12 06:00 EDT by Tom Hofmann CLA
Modified: 2011-06-14 12:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hofmann CLA 2006-07-12 06:00:10 EDT
I20060711-1100

- open the plug-in manifest editor and start to add an extension 
- open the extension's schema file and edit
  - in my case: I removed a restriction on a attribute value
- return to the manifest editor
- reselect the element that was being edited before (and the definition of which has changed)
- got this:

!ENTRY org.eclipse.jface 4 2 2006-07-12 12:00:24.925
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.pde.internal.ui.editor.plugin.ExtensionElementDetails.createAttributeRow(ExtensionElementDetails.java:150)
	at org.eclipse.pde.internal.ui.editor.plugin.ExtensionElementDetails.createContents(ExtensionElementDetails.java:129)
	at org.eclipse.ui.forms.DetailsPart$1.run(DetailsPart.java:268)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.ui.forms.DetailsPart.showPage(DetailsPart.java:264)
	at org.eclipse.ui.forms.DetailsPart.update(DetailsPart.java:237)
	at org.eclipse.ui.forms.DetailsPart.selectionChanged(DetailsPart.java:222)
	at org.eclipse.ui.forms.ManagedForm.fireSelectionChanged(ManagedForm.java:146)
	at org.eclipse.pde.internal.ui.editor.TreeSection$PartAdapter.selectionChanged(TreeSection.java:27)
	at org.eclipse.pde.internal.ui.parts.TreePart$1.selectionChanged(TreePart.java:47)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976)
	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1128)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154)
	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213)
	at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3190)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2866)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:615)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Curtis Windatt CLA 2011-06-14 12:57:45 EDT
Could not reproduce in 3.7 RC4