java.lang.NullPointerException

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    Unfortunately no repo case. MarkerManager also needs unit tests (class is about 400 lines) {code} !ENTRY com.aptana.editor.php 4 0 2012-04-20 15:39:00.026 !MESSAGE (Build 3.0.3.1333568321) [ERROR] PHP parser error !STACK 0 java.lang.NullPointerException at com.aptana.core.internal.resources.MarkerManager.removeMarker(MarkerManager.java:169) at com.aptana.core.internal.resources.UniformResourceMarker.delete(UniformResourceMarker.java:53) at com.aptana.core.resources.MarkerUtils.deleteMarkers(MarkerUtils.java:95) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter.updateMarkers(BuildProblemReporter.java:128) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter.access$0(BuildProblemReporter.java:99) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter$1.run(BuildProblemReporter.java:84) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter.flush(BuildProblemReporter.java:89) at org2.eclipse.php.internal.core.ast.nodes.AST.flushErrors(AST.java:244) at com.aptana.editor.php.internal.parser.PHPParser.parse(PHPParser.java:153) at com.aptana.parsing.ParserPoolFactory.doParse(ParserPoolFactory.java:286) at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:244) at com.aptana.editor.php.internal.ui.editor.PHPSourceEditor.getAST(PHPSourceEditor.java:178) at com.aptana.editor.common.AbstractThemeableEditor$3.run(AbstractThemeableEditor.java:1256) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3615) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) 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:344) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.NullPointerException
  2. 0

    Unfortunately no repo case. MarkerManager also needs unit tests (class is about 400 lines) {code} !ENTRY com.aptana.editor.php 4 0 2012-04-20 15:39:00.026 !MESSAGE (Build 3.0.3.1333568321) [ERROR] PHP parser error !STACK 0 java.lang.NullPointerException at com.aptana.core.internal.resources.MarkerManager.removeMarker(MarkerManager.java:169) at com.aptana.core.internal.resources.UniformResourceMarker.delete(UniformResourceMarker.java:53) at com.aptana.core.resources.MarkerUtils.deleteMarkers(MarkerUtils.java:95) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter.updateMarkers(BuildProblemReporter.java:128) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter.access$0(BuildProblemReporter.java:99) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter$1.run(BuildProblemReporter.java:84) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at com.aptana.editor.php.internal.core.builder.BuildProblemReporter.flush(BuildProblemReporter.java:89) at org2.eclipse.php.internal.core.ast.nodes.AST.flushErrors(AST.java:244) at com.aptana.editor.php.internal.parser.PHPParser.parse(PHPParser.java:153) at com.aptana.parsing.ParserPoolFactory.doParse(ParserPoolFactory.java:286) at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:244) at com.aptana.editor.php.internal.ui.editor.PHPSourceEditor.getAST(PHPSourceEditor.java:178) at com.aptana.editor.common.AbstractThemeableEditor$3.run(AbstractThemeableEditor.java:1256) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3615) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) 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:344) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    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 com.aptana.core.internal.resources.MarkerManager.removeMarker()
    2. com.aptana.core
      MarkerUtils.deleteMarkers
      1. com.aptana.core.internal.resources.MarkerManager.removeMarker(MarkerManager.java:169)
      2. com.aptana.core.internal.resources.UniformResourceMarker.delete(UniformResourceMarker.java:53)
      3. com.aptana.core.resources.MarkerUtils.deleteMarkers(MarkerUtils.java:95)
      3 frames
    3. com.aptana.editor
      BuildProblemReporter$1.run
      1. com.aptana.editor.php.internal.core.builder.BuildProblemReporter.updateMarkers(BuildProblemReporter.java:128)
      2. com.aptana.editor.php.internal.core.builder.BuildProblemReporter.access$0(BuildProblemReporter.java:99)
      3. com.aptana.editor.php.internal.core.builder.BuildProblemReporter$1.run(BuildProblemReporter.java:84)
      3 frames
    4. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      1 frame
    5. com.aptana.editor
      BuildProblemReporter.flush
      1. com.aptana.editor.php.internal.core.builder.BuildProblemReporter.flush(BuildProblemReporter.java:89)
      1 frame
    6. org2.eclipse.php
      AST.flushErrors
      1. org2.eclipse.php.internal.core.ast.nodes.AST.flushErrors(AST.java:244)
      1 frame
    7. com.aptana.editor
      PHPParser.parse
      1. com.aptana.editor.php.internal.parser.PHPParser.parse(PHPParser.java:153)
      1 frame
    8. com.aptana.parsing
      ParserPoolFactory.parse
      1. com.aptana.parsing.ParserPoolFactory.doParse(ParserPoolFactory.java:286)
      2. com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:244)
      2 frames
    9. com.aptana.editor
      AbstractThemeableEditor$3.run
      1. com.aptana.editor.php.internal.ui.editor.PHPSourceEditor.getAST(PHPSourceEditor.java:178)
      2. com.aptana.editor.common.AbstractThemeableEditor$3.run(AbstractThemeableEditor.java:1256)
      2 frames
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3615)
      4 frames
    11. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    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:668)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    15. com.aptana.rcp
      IDEApplication.start
      1. com.aptana.rcp.IDEApplication.start(IDEApplication.java:125)
      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:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    19. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      3 frames