facebook

Error when attempting to use struts-config "Outline&quo

💡
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 IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #207296 Reply

    chris8185
    Member

    I created a simple struts application as per your struts tutorial. When I exited myEclipse and then reentered the ide I could no longer see the outline view for the stuts-config.xml file (the outline view was blank).
    When I checked the error log for eclipse I found the following stacktrace.

    System Setup ——————————-
    Operating System and version: Windows XP Home Edition
    Eclipse version: 3.0.0
    Eclipse build id:
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: N
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.7.2
    Eclipse JDK version: j2sdk 1.4.2.04
    Application Server JDK version: tomcat 5.0.24
    Are there any exceptions in the Eclipse log file?

    !ENTRY org.eclipse.ui 4 4 May 20, 2004 23:01:09.255
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 May 20, 2004 23:01:09.275
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.internal.WorkbenchWindow$9.shellActivated(WorkbenchWindow.java:1911)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:163)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:793)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:774)
    at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1463)
    at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1325)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2943)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1439)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3146)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1445)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:397)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1439)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3146)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1450)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2254)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    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:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)-
    – Message Body ——————————-

    #207298

    Riyad Kalla
    Member

    Chris,
    Its hard to debug what is going on with the given info because the stack trace you provided is a purely Eclipse exception.

    Have you tried closing all your open files, closing your project, then restart Eclipse, and opening your project and opening the struts-config file again?

    #207483

    Riyad Kalla
    Member

    chris8185,
    Were you able to get up and running?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Error when attempting to use struts-config "Outline&quo

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