Project: Eclipse_Platform_UI
Bug 29160 [Navigator] NPE in ResourceNavigator.migrateDialogSettings
Reported: 2003-01-08 14:13:31 | Status: resolved fixed

Build id: 200212181304 Not sure how to reproduce but I got the following NPE in my .log file. Line 719 is: "if (workingSetName.length() > 0) {" java.lang.NullPointerException at java.lang.Throwable.<init>(Throwable.java:54) at java.lang.Throwable.<init>(Throwable.java:68) at java.lang.NullPointerException.<init>(NullPointerException.java:63) at org.eclipse.ui.views.navigator.ResourceNavigator.migrateDialogSettings (ResourceNavigator.java:719) at org.eclipse.ui.views.navigator.ResourceNavigator.<init> (ResourceNavigator.java:132) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1421) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension (PluginDescriptor.java:138) at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension (PluginDescriptor.java:167) at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtensio n(ConfigurationElement.java:103) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension (WorkbenchPlugin.java:156) at org.eclipse.ui.internal.registry.ViewDescriptor.createView (ViewDescriptor.java:45) at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:111) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:852) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.ui.internal.ViewFactory.busyRestoreView (ViewFactory.java:93) at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:77) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:65) at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:73) at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart (ViewFactory.java:319) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:341) at org.eclipse.ui.internal.WorkbenchPage.updateVisibility (WorkbenchPage.java:2417) at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:1521) at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:309) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage (WorkbenchWindow.java:356) at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow (Workbench.java:326) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:319) at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:1121) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:65) at org.eclipse.ui.internal.Workbench.openWorkbenchWindow (Workbench.java:1118) at org.eclipse.ui.internal.Workbench.showPerspective (Workbench.java:1617) at org.eclipse.search.internal.ui.SearchPlugin.activateSearchResultView (SearchPlugin.java:179) at org.eclipse.search.ui.SearchUI.activateSearchResultView (SearchUI.java:91) at org.eclipse.jdt.ui.actions.FindAction.run(FindAction.java:263) at org.eclipse.jdt.ui.actions.FindReferencesAction.run (FindReferencesAction.java:79) at org.eclipse.jdt.ui.actions.FindAction.run(FindAction.java:237) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:193) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:169) at org.eclipse.jface.action.Action.runWithEvent(Action.java:769) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:411) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:365) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:356) 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:1467) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1450) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:845) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.AccessibleObject.invokeImpl(Native Method) at java.lang.reflect.AccessibleObject.invokeL (AccessibleObject.java:203) at java.lang.reflect.Method.invoke(Method.java:271) 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)

Files changed in fix:
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/ResourceNavigator.java