Project: aptanastudio
Issue APSTUD-4901: NPE in RubyLineBreakpointAdapter.getFileStore
I've installed the Aptana plugin in my already existing Eclipse installation. Soon after that I regularly got popups saying "Multiple errors have occured". The .log is packed with this error message four times in a row: {code} !ENTRY org.eclipse.ui.workbench 4 2 2012-06-12 09:05:28.455 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException com.aptana.ruby.debug.ui.RubyLineBreakpointAdapter.getFileStore(RubyLineBreakpointAdapter.java:155) com.aptana.ruby.debug.ui.RubyBreakpointAdapterFactory.getAdapter(RubyBreakpointAdapterFactory.java:29) org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:80) org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295) org.eclipse.ui.part.WorkbenchPart.getAdapter(WorkbenchPart.java:151) org.eclipse.ui.texteditor.AbstractTextEditor.getAdapter(AbstractTextEditor.java:6181) org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.getAdapter(AbstractDecoratedTextEditor.java:1401) org.eclipse.ui.editors.text.TextEditor.getAdapter(TextEditor.java:181) org.eclipse.debug.internal.ui.actions.ToggleBreakpointsTargetManager$ToggleBreakpointsTargetAdapterFactory.canGetToggleBreakpointsTarget(ToggleBreakpointsTargetManager.java:304) org.eclipse.debug.internal.ui.actions.ToggleBreakpointsTargetManager$ToggleBreakpointsTargetAdapterFactory.isEnabled(ToggleBreakpointsTargetManager.java:352) org.eclipse.debug.internal.ui.actions.ToggleBreakpointsTargetManager.getEnabledFactories(ToggleBreakpointsTargetManager.java:488) org.eclipse.debug.internal.ui.actions.ToggleBreakpointsTargetManager.getPreferredToggleBreakpointsTargetID(ToggleBreakpointsTargetManager.java:540) org.eclipse.debug.internal.ui.actions.ToggleBreakpointsTargetManager.getToggleBreakpointsTarget(ToggleBreakpointsTargetManager.java:554) org.eclipse.debug.internal.ui.actions.breakpoints.RetargetBreakpointAction.getAdapter(RetargetBreakpointAction.java:50) org.eclipse.debug.internal.ui.actions.RetargetAction.partActivated(RetargetAction.java:170) org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.runtime.Platform.run(Platform.java:888) org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57) org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70) org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:187) org.eclipse.ui.internal.PartService.setActivePart(PartService.java:306) org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:134) org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:125) org.eclipse.ui.internal.WWinPartService$WWinListener.partDeactivated(WWinPartService.java:50) org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:115) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.runtime.Platform.run(Platform.java:888) org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55) org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:113) org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:242) org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300) org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57) org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136) org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3636) org.eclipse.ui.internal.WorkbenchPage.internalActivate(WorkbenchPage.java:691) org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:663) org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1324) org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1304) org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1496) org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1485) org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1459) org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1514) org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61) org.eclipse.ui.internal.PartStack.close(PartStack.java:537) org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206) org.eclipse.ui.internal.PartStack$1.close(PartStack.java:120) org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:83) org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269) org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278) org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1) org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:71) org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:631) org.eclipse.ui.internal.presentations.PaneFolder$4.mouseUp(PaneFolder.java:230) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) org.eclipse.equinox.launcher.Main.main(Main.java:1386) {code} If you need more information about my installation I'll be glad to post it.
Story points: 5