File associations broken
If I go to window->preferences->Genral->Editors->File Association, I get a message about invalid values.
Submitted by Sverre Rabbelier on 3 June 2010 at 17:14
Issue Log
Yeah, the file associations preferences dialog frequently reports that it has invalid values. This is a regression that was introduced with the latest update of the IMP library.
[edit]edited this comment after the original issue report was edited[/edit]
Additionally I observed that if you click OK in the preferences window after having (accidentally) visited the file associations dialog, then afterwards all your IMP files open in the operating system default editor (e.g. notepad) until you restart Eclipse and wait until everything (IMP?) has been initialized.
Maybe this is somehow related to https://yellowgrass.org/issue/Spoofax/620.
In any case this issue seems to be fairly simple to resolve:
java.lang.NullPointerException at org.eclipse.imp.language.LanguageRegistry$BundleImageDescriptor.getStream(LanguageRegistry.java:343) at org.eclipse.imp.language.LanguageRegistry$BundleImageDescriptor.getImageData(LanguageRegistry.java:316) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:273) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227) at org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage.newResourceTableItem(FileEditorsPreferencePage.java:468) at org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage.fillResourceTypeTable(FileEditorsPreferencePage.java:395) at org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage.createContents(FileEditorsPreferencePage.java:268) at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232) at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1502) at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1259) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ...
Fixed in r25878. This was definitely not related to https://yellowgrass.org/issue/Spoofax/620.
Log in to post comments