Cannot open SPT files
Since very recently SPT (Spoofax testing) files can no longer be opened. Double clicking on an SPT file causes an editor window to open and immediately close. No information is added to the error log. I’m running build s40991 (http://hydra.nixos.org/build/5736568) of Spoofax.
Submitted by Vlad Vergu on 20 August 2013 at 18:39
Issue Log
On 20 August 2013 at 18:39 Vlad Vergu tagged !vvergu
On 20 August 2013 at 18:50 Vlad Vergu commented:
Ok. This is because the editor ID for Spoofax languages has changed. The solution is to right click on file > Open With > Spoofax Editor. This update should be automatic. Changing status to improvement to assigning to Oskar.
On 20 August 2013 at 18:50 Vlad Vergu tagged improvement
On 20 August 2013 at 18:50 Vlad Vergu removed tag error
On 20 August 2013 at 18:50 Vlad Vergu tagged @oskarvanrest
On 20 August 2013 at 18:50 Vlad Vergu removed tag !vvergu
On 20 August 2013 at 18:56 Vlad Vergu commented:
This trace seems to be related:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4361) at org.eclipse.swt.SWT.error(SWT.java:4276) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3623) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) Caused by: java.lang.NullPointerException at org.eclipse.imp.editor.UniversalEditor$3.run(UniversalEditor.java:691) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 23 more
On 26 August 2013 at 20:30 Oskar van Rest commented:
Fixed.
https://github.com/metaborg/spoofax/commit/94f073e836ab9f8bb39e8f48769a34ba63bcb473
https://github.com/metaborg/imp-patched/commit/c26eebfe70b466c9f2ac62c75b1fbe43e2fef954
On 26 August 2013 at 20:30 Oskar van Rest closed this issue.
Log in to post comments