java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This issue only appear at Eclipse 4.2 steps for reproducing: # open Visual Editor view # open two ZUL file with ZUL editor # modify one of them without saving # close such modified file and select no save # Eclipse auto jump to another ZUL editor and Visual Editor is freeze with previous screen. # click "refresh" button of Visual Editor will reset it to normal status Stack trace from host Eclipse console: {code} java.lang.NullPointerException at org.zkoss.eclipse.ve.VeWebAppRuntime.<init>(VeWebAppRuntime.java:41) at org.zkoss.eclipse.ve.VeWebAppRuntime.newInstance(VeWebAppRuntime.java:48) at org.zkoss.eclipse.ve.WebAppFarm.getVeWebApplication(WebAppFarm.java:147) at org.zkoss.eclipse.ve.VeInstructionSender.send(VeInstructionSender.java:80) at org.zkoss.eclipse.ve.model.remote.DirectVEAppController.sendInstruction(DirectVEAppController.java:280) at org.zkoss.eclipse.ve.model.remote.DirectVEAppController.doSelect(DirectVEAppController.java:144) at org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSuperSelect(VeViewControl.java:178) at org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSelect(VeViewControl.java:287) at org.zkoss.eclipse.ve.ui.views.VeViewControl$VeViewListener.onSelectionChanged(VeViewControl.java:313) at org.zkoss.eclipse.setting.ZEditorObserver.firePostZulSelectionChanged(ZEditorObserver.java:160) at org.zkoss.eclipse.editor.core.model.ZulContext$1.selectionChanged(ZulContext.java:88) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2755) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2703) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2682) at org.eclipse.swt.widgets.Display.timerProc(Display.java:4121) 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:2332) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) {code}
    via by paowang,
  • This issue only appear at Eclipse 4.2 steps for reproducing: # open Visual Editor view # open two ZUL file with ZUL editor # modify one of them without saving # close such modified file and select no save # Eclipse auto jump to another ZUL editor and Visual Editor is freeze with previous screen. # click "refresh" button of Visual Editor will reset it to normal status Stack trace from host Eclipse console: {code} java.lang.NullPointerException at org.zkoss.eclipse.ve.VeWebAppRuntime.<init>(VeWebAppRuntime.java:41) at org.zkoss.eclipse.ve.VeWebAppRuntime.newInstance(VeWebAppRuntime.java:48) at org.zkoss.eclipse.ve.WebAppFarm.getVeWebApplication(WebAppFarm.java:147) at org.zkoss.eclipse.ve.VeInstructionSender.send(VeInstructionSender.java:80) at org.zkoss.eclipse.ve.model.remote.DirectVEAppController.sendInstruction(DirectVEAppController.java:280) at org.zkoss.eclipse.ve.model.remote.DirectVEAppController.doSelect(DirectVEAppController.java:144) at org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSuperSelect(VeViewControl.java:178) at org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSelect(VeViewControl.java:287) at org.zkoss.eclipse.ve.ui.views.VeViewControl$VeViewListener.onSelectionChanged(VeViewControl.java:313) at org.zkoss.eclipse.setting.ZEditorObserver.firePostZulSelectionChanged(ZEditorObserver.java:160) at org.zkoss.eclipse.editor.core.model.ZulContext$1.selectionChanged(ZulContext.java:88) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2755) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2703) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2682) at org.eclipse.swt.widgets.Display.timerProc(Display.java:4121) 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:2332) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) {code}
    via by paowang,
    • java.lang.NullPointerException at org.zkoss.eclipse.ve.VeWebAppRuntime.<init>(VeWebAppRuntime.java:41) at org.zkoss.eclipse.ve.VeWebAppRuntime.newInstance(VeWebAppRuntime.java:48) at org.zkoss.eclipse.ve.WebAppFarm.getVeWebApplication(WebAppFarm.java:147) at org.zkoss.eclipse.ve.VeInstructionSender.send(VeInstructionSender.java:80) at org.zkoss.eclipse.ve.model.remote.DirectVEAppController.sendInstruction(DirectVEAppController.java:280) at org.zkoss.eclipse.ve.model.remote.DirectVEAppController.doSelect(DirectVEAppController.java:144) at org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSuperSelect(VeViewControl.java:178) at org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSelect(VeViewControl.java:287) at org.zkoss.eclipse.ve.ui.views.VeViewControl$VeViewListener.onSelectionChanged(VeViewControl.java:313) at org.zkoss.eclipse.setting.ZEditorObserver.firePostZulSelectionChanged(ZEditorObserver.java:160) at org.zkoss.eclipse.editor.core.model.ZulContext$1.selectionChanged(ZulContext.java:88) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2755) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2703) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2682) at org.eclipse.swt.widgets.Display.timerProc(Display.java:4121) 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:2332) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    No Bugmate found.