Community
Participate
Working Groups
The title speaks for itself... here's a stack trace to pinpoint the problem. I think wrapping the logic found there in a null check would fix the issue, or moving it to doLoadDefault() might be even better. java.lang.NullPointerException at org.eclipse.ui.ide.dialogs.AbstractEncodingFieldEditor.setPreferenceStore(AbstractEncodingFieldEditor.java:197) at org.eclipse.jface.preference.FieldEditorPreferencePage.dispose(FieldEditorPreferencePage.java:269) at org.eclipse.jface.preference.PreferenceNode.disposeResources(PreferenceNode.java:173) at org.eclipse.ui.internal.preferences.WorkbenchPreferenceExtensionNode.disposeResources(WorkbenchPreferenceExtensionNode.java:138) at org.eclipse.jface.preference.PreferenceDialog$2.run(PreferenceDialog.java:301) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jface.preference.PreferenceDialog.close(PreferenceDialog.java:315) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.close(FilteredPreferenceDialog.java:696) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.close(WorkbenchPreferenceDialog.java:145) at org.eclipse.jface.preference.PreferenceDialog.cancelPressed(PreferenceDialog.java:274) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:237) ........snip........
(In reply to comment #0) > I > think wrapping the logic found there in a null check would fix the issue, or > moving it to doLoadDefault() might be even better. A null check is definitely required since the API is spec'd to allow null as a valid argument to the method.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.