Bug 25863 - Ant preferences not being saved
Summary: Ant preferences not being saved
Status: RESOLVED DUPLICATE of bug 26061
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: core, ui
Depends on:
Blocks:
 
Reported: 2002-11-07 16:15 EST by Matthew Conway CLA
Modified: 2002-11-12 22:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Conway CLA 2002-11-07 16:15:02 EST
Preferences -> External Tools -> Ant
The runtime classpath preference for Ant is not being saved across workspace
sessions.

Preferences -> External Tools -> Ant View
The Ant View preference dialog does not come up as it can't instantiate its
class - Stack trace:

!MESSAGE Plug-in "org.eclipse.ui.externaltools" was unable to instantiate class
"org.eclipse.ui.externaltools.internal.ant.antview.preferences.PreferencePage".
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.ui.externaltools.internal.ant.antview.core.ResourceMgr.getString(ResourceMgr.java:89)
	at
org.eclipse.ui.externaltools.internal.ant.antview.preferences.PreferencePage.<init>(PreferencePage.java:35)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:306)
	at java.lang.Class.newInstance(Class.java:259)
	at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:136)
	at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:165)
	at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:102)
	at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:109)
	at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.java:43)
	at
org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:895)
	at org.eclipse.jface.preference.PreferenceDialog$7.run(PreferenceDialog.java:422)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
	at
org.eclipse.jface.preference.PreferenceDialog$6.widgetSelected(PreferenceDialog.java:414)
	at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:192)
	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:187)
	at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:327)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:31)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:94)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1669)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1414)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:561)
	at org.eclipse.jface.window.Window.open(Window.java:541)
	at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:47)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:769)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:408)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:362)
	at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:353)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:48)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1419)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1402)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:831)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	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:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 1 Matthew Conway CLA 2002-11-07 16:16:21 EST
Forgot to mention:
Build id: 200211051258
Comment 2 Darin Swanson CLA 2002-11-07 16:24:49 EST
See bug 25759 for workaround and details of fix for NPE.
Comment 3 Darin Swanson CLA 2002-11-12 22:32:43 EST

*** This bug has been marked as a duplicate of 26061 ***