XMLWordPrintable

    • Hide

      EXECUTE: Open some HTML Page with VPV Editor
      EXECUTE: Make some change in text and save the editor
      EXECUTE: Close the editor
      EXECUTE: Open the same HTML Page in "HTML Editor"
      EXECUTE: Make some change in text and save the editor
      ASSERT: (FAIL) No exceptions in Error Log

      Show
      EXECUTE: Open some HTML Page with VPV Editor EXECUTE: Make some change in text and save the editor EXECUTE: Close the editor EXECUTE: Open the same HTML Page in "HTML Editor" EXECUTE: Make some change in text and save the editor ASSERT: (FAIL) No exceptions in Error Log

      NullPointerException occurs when switching from VPV Editor to HTML Editor.

      It looks like VPV Editor doesn't clean up some resources (like listeners) when it's closed.

      !ENTRY org.eclipse.wst.sse.core 4 4 2014-10-08 03:45:40.608
      !MESSAGE 
      !STACK 0
      java.lang.NullPointerException
      	at org.jboss.tools.vpe.preview.editor.VpvEditor$10.documentChanged(VpvEditor.java:723)
      	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireDocumentChanged(BasicStructuredDocument.java:460)
      	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1184)
      	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)
      	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)
      	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)
      	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)
      	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
      	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)
      	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)
      	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)
      	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
      	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)
      	at org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)
      	at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)
      	at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)
      	at org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)
      	at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)
      	at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7268)
      	at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8111)
      	at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2481)
      	at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5955)
      	at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5986)
      	at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5663)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
      	at org.eclipse.swt.widgets.Widget.sendIMKeyEvent(Widget.java:1474)
      	at org.eclipse.swt.widgets.Control.gtk_commit(Control.java:3043)
      	at org.eclipse.swt.widgets.Canvas.gtk_commit(Canvas.java:163)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2079)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5510)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4700)
      	at org.eclipse.swt.internal.gtk.OS._gtk_im_context_filter_keypress(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_im_context_filter_keypress(OS.java:8499)
      	at org.eclipse.swt.widgets.Control.filterKey(Control.java:2386)
      	at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3262)
      	at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:777)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2098)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5510)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4700)
      	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:9074)
      	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
      	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:2473)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3439)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
      	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:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      
      

            kmarmaliykov Konstantin Marmalyukov (Inactive)
            vrubezhny Victor Rubezhny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: