NullPointerExceptions when ATerm editor is initialized.

When running any builder that outputs a .aterm file, I get the following NullPointerExceptions in the console of the debugger-Eclipse.

The editor works ok-ish after that: syntax highlighting is present, but clicking the “Transform” button brings up a “Could not load builders” error.

At the moment I’ve no clue which recent change might have caused this.


[org.strategoxt.imp] Evaluated strategy generate-aterm-5 ms
Background job failed
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.services.StrategoObserverBackgroundUpdateJob.analyzeFile(StrategoObserverBackgroundUpdateJob.java:76)
at org.strategoxt.imp.runtime.services.StrategoObserverBackgroundUpdateJob.analyze(StrategoObserverBackgroundUpdateJob.java:54)
at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:83)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 4 more
[org.strategoxt.imp] Background analysis queued for /media/DATA/thesis/workspaces/…/Aanvraag.aterm
Warning: Acquired environment lock from main thread
[org.strategoxt.imp] File parsed: Aanvraag.aterm-7 ms
Unexpected error during analysis
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.parser.SGLRParseController.scheduleObserverUpdate(SGLRParseController.java:445)
at org.strategoxt.imp.runtime.parser.SGLRParseController.onParseCompleted(SGLRParseController.java:432)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:328)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.parse(DynamicParseController.java:191)
at org.eclipse.imp.editor.ParserScheduler.run(ParserScheduler.java:86)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 7 more
Internal parsing error: Exception occurred when initializing StrategoObserver editor service for ATerm
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.parser.SGLRParseController.scheduleObserverUpdate(SGLRParseController.java:445)
at org.strategoxt.imp.runtime.parser.SGLRParseController.onParseCompleted(SGLRParseController.java:432)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:328)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.parse(DynamicParseController.java:191)
at org.eclipse.imp.editor.ParserScheduler.run(ParserScheduler.java:86)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 7 more
Could not eagerly intiialize the on save service
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.dynamicloading.OnSaveServiceFactory.create(OnSaveServiceFactory.java:42)
at org.strategoxt.imp.runtime.dynamicloading.OnSaveServiceFactory.create(OnSaveServiceFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
at org.strategoxt.imp.runtime.dynamicloading.OnSaveServiceFactory.eagerInit(OnSaveServiceFactory.java:53)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.initializeEagerServices(DynamicParseController.java:91)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.getWrapped(DynamicParseController.java:79)
at org.strategoxt.imp.editors.aterm.ATermParseController.getWrapped(ATermParseController.java:81)
at org.strategoxt.imp.runtime.EditorState.getParseController(EditorState.java:121)
at org.strategoxt.imp.runtime.EditorState.scheduleAnalysis(EditorState.java:140)
at org.strategoxt.imp.runtime.services.StrategoObserverPartListener.partBroughtToTop(StrategoObserverPartListener.java:46)
at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
at org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:936)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2960)
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:2764)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.strategoxt.imp.runtime.services.StrategoBuilder.openEditor(StrategoBuilder.java:457)
at org.strategoxt.imp.runtime.services.StrategoBuilder.access$3(StrategoBuilder.java:436)
at org.strategoxt.imp.runtime.services.StrategoBuilder$2.runInUIThread(StrategoBuilder.java:282)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
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:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
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 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: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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 57 more
Could not eagerly initialize the refactoring service
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.dynamicloading.RefactoringFactory.collectRefactorings(RefactoringFactory.java:114)
at org.strategoxt.imp.runtime.dynamicloading.RefactoringFactory.eagerInit(RefactoringFactory.java:62)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.initializeEagerServices(DynamicParseController.java:94)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.getWrapped(DynamicParseController.java:79)
at org.strategoxt.imp.editors.aterm.ATermParseController.getWrapped(ATermParseController.java:81)
at org.strategoxt.imp.runtime.EditorState.getParseController(EditorState.java:121)
at org.strategoxt.imp.runtime.EditorState.scheduleAnalysis(EditorState.java:140)
at org.strategoxt.imp.runtime.services.StrategoObserverPartListener.partBroughtToTop(StrategoObserverPartListener.java:46)
at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
at org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:936)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2960)
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:2764)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.strategoxt.imp.runtime.services.StrategoBuilder.openEditor(StrategoBuilder.java:457)
at org.strategoxt.imp.runtime.services.StrategoBuilder.access$3(StrategoBuilder.java:436)
at org.strategoxt.imp.runtime.services.StrategoBuilder$2.runInUIThread(StrategoBuilder.java:282)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
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:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
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 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: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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 55 more
Could not schedule analysis
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.EditorState.scheduleAnalysis(EditorState.java:141)
at org.strategoxt.imp.runtime.services.StrategoObserverPartListener.partBroughtToTop(StrategoObserverPartListener.java:46)
at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
at org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:936)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2960)
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:2764)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.strategoxt.imp.runtime.services.StrategoBuilder.openEditor(StrategoBuilder.java:457)
at org.strategoxt.imp.runtime.services.StrategoBuilder.access$3(StrategoBuilder.java:436)
at org.strategoxt.imp.runtime.services.StrategoBuilder$2.runInUIThread(StrategoBuilder.java:282)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
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:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
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 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: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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 49 more
[org.strategoxt.imp] File parsed: Aanvraag.aterm-8 msUnexpected error during analysis

org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.parser.SGLRParseController.scheduleObserverUpdate(SGLRParseController.java:445)
at org.strategoxt.imp.runtime.parser.SGLRParseController.onParseCompleted(SGLRParseController.java:432)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:328)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.parse(DynamicParseController.java:191)
at org.eclipse.imp.editor.ParserScheduler.run(ParserScheduler.java:86)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 7 more
Internal parsing error: Exception occurred when initializing StrategoObserver editor service for ATerm
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.parser.SGLRParseController.scheduleObserverUpdate(SGLRParseController.java:445)
at org.strategoxt.imp.runtime.parser.SGLRParseController.onParseCompleted(SGLRParseController.java:432)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:328)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.parse(DynamicParseController.java:191)
at org.eclipse.imp.editor.ParserScheduler.run(ParserScheduler.java:86)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 7 more
Could not schedule analysis
org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Exception occurred when initializing StrategoObserver editor service for ATerm
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:200)
at org.strategoxt.imp.runtime.EditorState.scheduleAnalysis(EditorState.java:141)
at org.strategoxt.imp.runtime.services.StrategoObserverPartListener.partBroughtToTop(StrategoObserverPartListener.java:46)
at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(WorkbenchPagePartList.java:52)
at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:162)
at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1355)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3629)
at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3159)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:237)
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.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1580)
at org.eclipse.swt.widgets.Control.gtk_button_press_event(Control.java:2823)
at org.eclipse.swt.widgets.Control.gtk_button_press_event(Control.java:2759)
at org.eclipse.swt.widgets.Composite.gtk_button_press_event(Composite.java:681)
at org.eclipse.swt.widgets.Canvas.gtk_button_press_event(Canvas.java:152)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1731)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:5016)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4408)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8422)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245)
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:2276)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
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 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: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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NullPointerException
at org.spoofax.interpreter.core.Tools.termAt(Tools.java:80)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:28)
at org.strategoxt.imp.runtime.dynamicloading.StrategoObserverFactory.create(StrategoObserverFactory.java:1)
at org.strategoxt.imp.runtime.dynamicloading.Descriptor.createService(Descriptor.java:190)
… 56 more

Submitted by Tobi Vollebregt on 13 March 2012 at 14:52

On 13 March 2012 at 16:32 Gabriël Konat commented:

Probably caused by my observer syntax change, I’ll add an exception for old editors.


On 13 March 2012 at 16:50 Gabriël Konat commented:

Actually there is already an exception there.. this would mean that it cannot find a SemanticObserver at all?


On 13 March 2012 at 16:57 Gabriël Konat commented:

Possible fix in r24601, let me know if that fixed it.


On 13 March 2012 at 17:05 Tobi Vollebregt closed this issue.

On 13 March 2012 at 17:05 Tobi Vollebregt commented:

That fixes it, thanks!


On 13 March 2012 at 17:05 Tobi Vollebregt tagged @gohla

On 16 April 2012 at 13:18 Lennart Kats tagged 1.1

Log in to post comments