java.lang.NullPointerException

ZK-Tracker | paowang | 4 years ago
  1. 0

    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}

    ZK-Tracker | 4 years ago | paowang
    java.lang.NullPointerException
  2. 0

    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}

    ZK-Tracker | 4 years ago | paowang
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.zkoss.eclipse.ve.VeWebAppRuntime.<init>()
    2. org.zkoss.eclipse
      ZulContext$1.selectionChanged
      1. org.zkoss.eclipse.ve.VeWebAppRuntime.<init>(VeWebAppRuntime.java:41)
      2. org.zkoss.eclipse.ve.VeWebAppRuntime.newInstance(VeWebAppRuntime.java:48)
      3. org.zkoss.eclipse.ve.WebAppFarm.getVeWebApplication(WebAppFarm.java:147)
      4. org.zkoss.eclipse.ve.VeInstructionSender.send(VeInstructionSender.java:80)
      5. org.zkoss.eclipse.ve.model.remote.DirectVEAppController.sendInstruction(DirectVEAppController.java:280)
      6. org.zkoss.eclipse.ve.model.remote.DirectVEAppController.doSelect(DirectVEAppController.java:144)
      7. org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSuperSelect(VeViewControl.java:178)
      8. org.zkoss.eclipse.ve.ui.views.VeViewControl$3.doSelect(VeViewControl.java:287)
      9. org.zkoss.eclipse.ve.ui.views.VeViewControl$VeViewListener.onSelectionChanged(VeViewControl.java:313)
      10. org.zkoss.eclipse.setting.ZEditorObserver.firePostZulSelectionChanged(ZEditorObserver.java:160)
      11. org.zkoss.eclipse.editor.core.model.ZulContext$1.selectionChanged(ZulContext.java:88)
      11 frames
    3. JFace Text
      TextViewer$5.run
      1. org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2755)
      2. org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2703)
      3. org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2682)
      3 frames
    4. RWT
      Display.timerProc
      1. org.eclipse.swt.widgets.Display.timerProc(Display.java:4121)
      1 frame
    5. org.eclipse.swt
      OS.g_main_context_iteration
      1. org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      2. org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2332)
      2 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177)
      1 frame
    7. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
      1 frame
    8. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    9. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
      1 frame
    10. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
      1 frame
    11. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
      1 frame
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    15. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    17. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    19. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      4 frames