Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341562

Summary: Error writing vex-plugin.xml
Product: z_Archived Reporter: Eric Woodruff <eric.woodruff>
Component: MylynAssignee: Florian Thienel <florian>
Status: CLOSED FIXED QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 CC: florian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
DTD used to reproduce the bug none

Description Eric Woodruff CLA 2011-03-31 19:54:13 EDT
Ubuntu, Linux 64-bit, Eclipse Helios

  Vex XML Editor (Incubating)	1.0.0.201012131458	org.eclipse.wst.xml.vex.feature.feature.group


Attempting to use a custom DTD to define a new document type I got the following error:

org.eclipse.core.internal.resources.ResourceException: The resource tree is locked for modifications.
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:115)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1914)
at org.eclipse.core.internal.resources.File.setContents(File.java:359)
at org.eclipse.core.internal.resources.File.setContents(File.java:468)
at org.eclipse.wst.xml.vex.ui.internal.config.PluginProject.writeConfigXml(PluginProject.java:208)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.populateRootElements(DoctypePropertyPage.java:210)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.access$2(DoctypePropertyPage.java:191)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage$1.configChanged(DoctypePropertyPage.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.wst.xml.vex.core.internal.core.ListenerList.fireEvent(ListenerList.java:94)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl.fireConfigChanged(ConfigurationRegistryImpl.java:176)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl.reloadPluginProject(ConfigurationRegistryImpl.java:256)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl.access$3(ConfigurationRegistryImpl.java:250)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl$1.resourceChanged(ConfigurationRegistryImpl.java:62)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
at org.eclipse.core.internal.resources.File.setContents(File.java:369)
at org.eclipse.core.internal.resources.File.setContents(File.java:468)
at org.eclipse.wst.xml.vex.ui.internal.config.PluginProject.writeConfigXml(PluginProject.java:208)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.populateRootElements(DoctypePropertyPage.java:210)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.createContents(DoctypePropertyPage.java:109)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501)
at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:673)
at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:867)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:865)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1205)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1230)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:251)
at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:245)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:419)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 1 Florian Thienel CLA 2011-04-01 02:43:23 EDT
Hi Eric,

can you write up the steps you did to reproduce the problem? 

Thanks in advance,

Florian
Comment 2 Eric Woodruff CLA 2011-04-01 11:14:31 EDT
(In reply to comment #1)
> Hi Eric,
> 
> can you write up the steps you did to reproduce the problem? 
> 
> Thanks in advance,
> 
> Florian

Per Wiki instructions: Right-click on the DTD, select properties, enter Vex Document Type Info, skipping "Root Elements" as it is blank, click OK
Comment 3 Florian Thienel CLA 2011-04-05 16:02:46 EDT
The DTD was not automatically loaded. I pushed the fix to vex-dev.

@Eric: You can use the unstable update site to test the fix.
https://hudson.eclipse.org/hudson/job/cbi-wtp-inc.vex/lastSuccessfulBuild/artifact/sourceediting/development/org.eclipse.wst.xml.vex.repository/target/site
Comment 4 Eric Woodruff CLA 2011-04-06 16:47:33 EDT
Using:

  Vex XML Editor (Incubating)	1.0.0.201104051602	org.eclipse.wst.xml.vex.feature.feature.group


Error
Wed Apr 06 13:42:38 PDT 2011
Error writing vex-plugin.xml

org.eclipse.core.internal.resources.ResourceException: The resource tree is locked for modifications.
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:115)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1914)
at org.eclipse.core.internal.resources.File.setContents(File.java:359)
at org.eclipse.core.internal.resources.File.setContents(File.java:468)
at org.eclipse.wst.xml.vex.ui.internal.config.PluginProject.writeConfigXml(PluginProject.java:208)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.populateRootElements(DoctypePropertyPage.java:210)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.access$2(DoctypePropertyPage.java:191)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage$1.configChanged(DoctypePropertyPage.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.wst.xml.vex.core.internal.core.ListenerList.fireEvent(ListenerList.java:94)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl.fireConfigChanged(ConfigurationRegistryImpl.java:176)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl.reloadPluginProject(ConfigurationRegistryImpl.java:256)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl.access$3(ConfigurationRegistryImpl.java:250)
at org.eclipse.wst.xml.vex.ui.internal.config.ConfigurationRegistryImpl$1.resourceChanged(ConfigurationRegistryImpl.java:62)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
at org.eclipse.core.internal.resources.File.setContents(File.java:369)
at org.eclipse.core.internal.resources.File.setContents(File.java:468)
at org.eclipse.wst.xml.vex.ui.internal.config.PluginProject.writeConfigXml(PluginProject.java:208)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.performApply(DoctypePropertyPage.java:238)
at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:281)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)



eclipse.buildId=M20100909-0800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product


Error
Wed Apr 06 13:43:06 PDT 2011
Unhandled event loop exception

java.lang.NullPointerException
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.performApply(DoctypePropertyPage.java:226)
at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:281)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 5 Florian Thienel CLA 2011-04-07 02:48:21 EDT
That's strange. Please check if you have installed the version 1.0.0.201104051602 (the timestamp is significant).
Comment 6 Eric Woodruff CLA 2011-04-07 11:43:39 EDT
(In reply to comment #5)
> That's strange. Please check if you have installed the version
> 1.0.0.201104051602 (the timestamp is significant).

That is the version I used, see the opening of my previous comment.
Comment 7 Florian Thienel CLA 2011-04-07 13:01:50 EDT
> That is the version I used, see the opening of my previous comment.
Sorry, I missed that. 

Can you please try the following: open the file vex-plugin.xml in a text editor and delete everything except the root element. 
The file should look like this:
<plugin>
</plugin>
Comment 8 Eric Woodruff CLA 2011-04-07 13:02:53 EDT
(In reply to comment #7)
> > That is the version I used, see the opening of my previous comment.
> Sorry, I missed that. 
> 
> Can you please try the following: open the file vex-plugin.xml in a text editor
> and delete everything except the root element. 
> The file should look like this:
> <plugin>
> </plugin>

In each of my attempts I created a brand new vex plugin project from scratch so the vex-plugin.xml was empty to begin with...
Comment 9 Florian Thienel CLA 2011-04-07 14:24:06 EDT
(In reply to comment #8)
> In each of my attempts I created a brand new vex plugin project from scratch so
> the vex-plugin.xml was empty to begin with...

Ok, here is what I did earlier to check if the fix works:

- install a fresh Eclipse SDK Classic
- install Vex from the unstable update site mentioned above
- create a new Vex plug-in project
- create a very simple DTD:
<!ELEMENT elem1 (p)* >
<!ELEMENT elem2 (p)* >
<!ELEMENT p (#PCDATA)* >
- right-click on the DTD and open the properties
- open the Vex properties page
=> The properties page contains all of the three defined elements in the "Root Elements" list box.
- enter all data
- press apply
=> The data is written to the file vex-plugin.xml.

Sorry for the trouble, Eric. Would you mind trying a fresh install of Vex?
Comment 10 Eric Woodruff CLA 2011-04-07 16:56:22 EDT
Created attachment 192780 [details]
DTD used to reproduce the bug

Please try to reproduce with the attached DTD
Comment 11 Eric Woodruff CLA 2011-04-07 18:21:54 EDT
(In reply to comment #9)
> (In reply to comment #8)
> > In each of my attempts I created a brand new vex plugin project from scratch so
> > the vex-plugin.xml was empty to begin with...
> 
> Ok, here is what I did earlier to check if the fix works:
> 
> - install a fresh Eclipse SDK Classic
> - install Vex from the unstable update site mentioned above
> - create a new Vex plug-in project
> - create a very simple DTD:
> <!ELEMENT elem1 (p)* >
> <!ELEMENT elem2 (p)* >
> <!ELEMENT p (#PCDATA)* >
> - right-click on the DTD and open the properties
> - open the Vex properties page
> => The properties page contains all of the three defined elements in the "Root
> Elements" list box.
> - enter all data
> - press apply
> => The data is written to the file vex-plugin.xml.
> 
> Sorry for the trouble, Eric. Would you mind trying a fresh install of Vex?

I tried that and got this same problem:


eclipse.buildId=M20100909-0800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product


Error
Thu Apr 07 15:20:58 PDT 2011
java.lang.NullPointerException

java.lang.NullPointerException
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.performApply(DoctypePropertyPage.java:226)
at org.eclipse.wst.xml.vex.ui.internal.config.DoctypePropertyPage.performOk(DoctypePropertyPage.java:220)
at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:964)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:944)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:447)
at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 12 Florian Thienel CLA 2011-04-08 02:58:06 EDT
Ahh. Now I see it. The problem only occurrs, if the system ID is not set properly.

We will have to build some mechanism that automatically sets the system ID. In the mean time everything should work, if you enter a proper system ID manually (relative to the vex-plugin.xml file).

Thank you for your patience, Eric!

Florian
Comment 13 Eric Woodruff CLA 2011-04-08 13:00:10 EDT
(In reply to comment #12)
> Ahh. Now I see it. The problem only occurrs, if the system ID is not set
> properly.
> 
> We will have to build some mechanism that automatically sets the system ID. In
> the mean time everything should work, if you enter a proper system ID manually
> (relative to the vex-plugin.xml file).
> 
> Thank you for your patience, Eric!
> 
> Florian

Thank you it looks like this might actually be usable.
Comment 14 Florian Thienel CLA 2011-06-02 05:28:45 EDT
Closing resolved bugs.
Comment 15 Florian Thienel CLA 2011-11-09 17:37:56 EST
Moved to Mylyn Docs Vex.