mycoolmc / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

NPE when opening file outside of Eclipse workpace #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.NullPointerException
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling$2.iterator(ProtobufSpelling.java:72)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling.removeUnwantedAnnotations(ProtobufSpelling.java:64)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling.access$0(ProtobufSpelling.java:61)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling$1.process(ProtobufSpelling.java:52)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling$1.process(ProtobufSpelling.java:1)
       at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)
       at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
       at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:86)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling.removeUnwantedAnnotations(ProtobufSpelling.java:50)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufSpelling.reconcile(ProtobufSpelling.java:46)
       at org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy.initialReconcile(SpellingReconcileStrategy.java:169)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufReconcileStrategy.initialReconcile(ProtobufReconcileStrategy.java:50)
       at com.google.eclipse.protobuf.ui.editor.spelling.ProtobufReconcileStrategy.setDocument(ProtobufReconcileStrategy.java:45)
       at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.handleInputDocumentChanged(XtextReconciler.java:183)
       at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$TextInputListener.inputDocumentChanged(XtextReconciler.java:112)
       at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2888)
       at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2937)
       at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:636)
       at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:376)
       at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:584)
       at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:4030)
       at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3558)
       at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
       at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:440)
       at org.eclipse.xtext.ui.editor.XtextEditor.createPartControl(XtextEditor.java:375)
       at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
       at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
       at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
       at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
       at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)
       at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
       at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
       at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
       at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
       at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
       at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2756)
       at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1155)
       at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:107)
       at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:76)
       at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
       at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
       at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
       at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
       at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2711)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2673)
       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2507)
       at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:687)
       at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:680)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
       at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
       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: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:622)
       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
       at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Original issue reported on code.google.com by alr...@google.com on 16 Sep 2011 at 9:00

GoogleCodeExporter commented 9 years ago
rb4203b8029f9

Original comment by alr...@google.com on 16 Sep 2011 at 9:01