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.

  • 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}
    via by Ingo Muschenetz,
  • 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}
    via by Ingo Muschenetz,
    • 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)
    No Bugmate found.