Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8359

VisualEditor throws exception and stays open for file from project that is being closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • LATER
    • 3.2.0.CR1
    • None
    • Hide

      1. EXEC: Create Seam WEB project without test project
      2. EXEC: Open any error.xhtml file and then open any Authenticator.java
      3. EXEC: Restart eclipse
      4. EXEC: Delete project
      5. ASSERT: VPE editor is closed

      now it stays open with like it shown on screenshot79.png

      Show
      1. EXEC: Create Seam WEB project without test project 2. EXEC: Open any error.xhtml file and then open any Authenticator.java 3. EXEC: Restart eclipse 4. EXEC: Delete project 5. ASSERT: VPE editor is closed now it stays open with like it shown on screenshot79.png

      Unable to create editor ID org.jboss.tools.jst.jsp.jspeditor.HTMLTextEditor: An unexpected exception was thrown.
      java.lang.NullPointerException
      	at org.jboss.tools.jst.jsp.selection.bar.SelectionBar.<init>(SelectionBar.java:113)
      	at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.addPage(JSPMultiPageEditorPart.java:115)
      	at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPagesForVPE(JSPMultiPageEditor.java:489)
      	at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:411)
      	at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:164)
      	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
      	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
      	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
      	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
      	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
      	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
      	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
      	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
      	at org.eclipse.ui.internal.PartStack.handleDeferredEvents(PartStack.java:1222)
      	at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
      	at org.eclipse.ui.internal.PartSashContainer.handleDeferredEvents(PartSashContainer.java:1409)
      	at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
      	at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1420)
      	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.closeEditor(WorkbenchPage.java:1448)
      	at org.eclipse.ui.texteditor.AbstractTextEditor$23.run(AbstractTextEditor.java:4156)
      	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.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)
      

        1. screenshot79.png
          55 kB
          Denis Golovin
        2. screenshot88.png
          12 kB
          Denis Golovin

            nivologd@gmail.com Denis Golovin (Inactive)
            nivologd@gmail.com Denis Golovin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: