facebook

Error opening struts config editor [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #207760 Reply

    When I try to open a struts-config.xml file in the struts editor I get a dialog that tells me that the project is not configured us a struts project and prompts me to open the file in the default xml editor.

    Whether I choose Yes or No I get the following error:

    java.lang.NullPointerException
    at com.genuitec.eclipse.struts.editor.outline.StrutsConfigOutlinePage.redrawTree(Unknown Source)
    at org.xmen.internal.ui.text.DampenedXMLStructureUpdaterPage$1.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2693)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2385)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1363)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1334)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:253)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:97)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:307)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:256)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
    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.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:638)
    at org.eclipse.core.launcher.Main.main(Main.java:622)

    Configuration:
    Windows 2000 sp4
    J2re 1.4.2_04
    Eclipse 3.0 M9
    MyEclipse 3.8 beta1

    #207786

    Scott Anderson
    Participant

    Thanks for reporting this issue. I verified it and posted it as a bug against 3.8 Beta 1 so we can fix it in Beta 2.

    For all, the workaround is to explicitly open any struts-config.xml file that is not in a struts project with the xml editor by right-clicking on the file and selecting Open With > XML Editor.

    #209811

    Riyad Kalla
    Member

    Fixed in 3.8Beta2.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Error opening struts config editor [Closed]

You must be logged in to post in the forum log in