[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8138) NullPointerException occurs in when eclipse is closed with opened VPE editor

Maxim Areshkau (JIRA) jira-events at lists.jboss.org
Tue Jan 18 07:11:49 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Areshkau updated JBIDE-8138:
----------------------------------

    Attachment: jbide8138.patch


Fix Patch for review.

> NullPointerException occurs in when eclipse is closed with opened VPE editor
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-8138
>                 URL: https://issues.jboss.org/browse/JBIDE-8138
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.2.0.CR1
>            Reporter: Denis Golovin
>            Assignee: Maxim Areshkau
>             Fix For: 3.2.0.CR1
>
>         Attachments: jbide8138.patch
>
>
> java.lang.NullPointerException
> at org.jboss.tools.jst.jsp.i18n.handlers.I18nHandler.setEnabled(I18nHandler.java:44)
> at org.eclipse.ui.internal.handlers.HandlerProxy.setEnabled(HandlerProxy.java:232)
> at org.eclipse.core.commands.Command.setEnabled(Command.java:857)
> at org.eclipse.ui.menus.CommandContributionItem.isEnabled(CommandContributionItem.java:968)
> at org.eclipse.ui.menus.CommandContributionItem.updateToolItem(CommandContributionItem.java:661)
> at org.eclipse.ui.menus.CommandContributionItem.update(CommandContributionItem.java:578)
> at org.eclipse.ui.menus.CommandContributionItem.update(CommandContributionItem.java:565)
> at org.eclipse.ui.menus.CommandContributionItem$1.bindingManagerChanged(CommandContributionItem.java:989)
> at org.eclipse.jface.bindings.BindingManager.fireBindingManagerChanged(BindingManager.java:900)
> at org.eclipse.jface.bindings.BindingManager.setActiveBindings(BindingManager.java:2176)
> at org.eclipse.jface.bindings.BindingManager.recomputeBindings(BindingManager.java:1742)
> at org.eclipse.jface.bindings.BindingManager.contextManagerChanged(BindingManager.java:689)
> at org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(ContextManager.java:165)
> at org.eclipse.core.commands.contexts.ContextManager.removeActiveContext(ContextManager.java:245)
> at org.eclipse.ui.internal.contexts.ContextAuthority.updateContext(ContextAuthority.java:758)
> at org.eclipse.ui.internal.contexts.ContextAuthority.deactivateContext(ContextAuthority.java:353)
> at org.eclipse.ui.internal.contexts.ContextService.deactivateContext(ContextService.java:148)
> at org.jboss.tools.vpe.editor.VpeEditorPart.deactivateServices(VpeEditorPart.java:1242)
> at org.jboss.tools.vpe.editor.VpeEditorPart.dispose(VpeEditorPart.java:938)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.dispose(JSPMultiPageEditor.java:619)
> at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:737)
> at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:327)
> at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:684)
> at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1721)
> at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1426)
> at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1410)
> at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1384)
> at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1188)
> at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1770)
> at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:861)
> at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1696)
> at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:734)
> at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:710)
> at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:826)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:824)
> at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
> at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1106)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1103)
> at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1032)
> at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1276)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1274)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1246)
> at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:731)
> at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:710)
> at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:826)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:824)
> at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
> at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
> 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.Widget.sendEvent(Widget.java:1282)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
> at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:616)
> at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1166)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1735)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4796)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4360)
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8168)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1238)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2229)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159)
> 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:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> 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)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list