- This topic has 3 replies, 2 voices, and was last updated 20 years ago by Riyad Kalla.
-
AuthorPosts
-
FranckMemberHi,
I am not sure if this is a bug, or that it has not been logged before, but I’ll mention it anyway.
If I close the project that contains a struts-config.xml file, which is opened at the time of closing the project, it remains opened. When I try to close the file manually (project has been closed) I receive an error message with the following stack trace
java.lang.NullPointerException at com.genuitec.eclipse.struts.StrutsSelectionManager.selectionChanged(Unknown Source) at org.eclipse.ui.internal.AbstractSelectionService$3.run(AbstractSelectionService.java:153) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:151) at org.eclipse.ui.internal.AbstractSelectionService.partActivated(AbstractSelectionService.java:242) at org.eclipse.ui.internal.WWinPartService.firePartActivated(WWinPartService.java:182) at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:178) at org.eclipse.ui.internal.WWinPartService$1.partActivated(WWinPartService.java:25) at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:45) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:43) at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1371) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2738) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2415) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:304) at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:127) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325) at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:154) at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:129) at org.eclipse.ui.internal.presentations.DefaultPartPresentation$2.mouseDown(DefaultPartPresentation.java:132) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
Cheers,
Franck
Riyad KallaMemberFranck,
I was able to verify this quickly and file it as a bug for us to fix, thanks!
FranckMemberHi,
I remembered later that I have seen this with other files as well, but I am not sure and I can’t remember. Maybe the developer who is going to fix this can have a look at it. This is not helpful, I know :), but I decided to mention it anyway …
Cheers,
Franck
Riyad KallaMemberI’ll add a note that he look into the functionality in a ‘general’ sense and see if he can work some magic 😉
-
AuthorPosts