Project: Eclipse_Platform_UI
Bug 9545 NPE when selecting an entry in advanced tracing page
Reported: 2002-02-13 05:38:37 | Status: resolved fixed

20020212 1. in the preferences, 'Advanced Tracing' page, select 'Workspace Plug-ins' java.lang.NullPointerException at org.eclipse.ui.views.properties.PropertySheetPage.handleEntrySelection (PropertySheetPage.java:161) at org.eclipse.ui.views.properties.PropertySheetPage$1.selectionChanged (PropertySheetPage.java:97) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged (Viewer.java:147) at org.eclipse.ui.views.properties.PropertySheetViewer.entrySelectionChanged (PropertySheetViewer.java:325) at org.eclipse.ui.views.properties.PropertySheetViewer.updateChildrenOf (PropertySheetViewer.java:1004) at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:723) at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged (PropertySheetPage.java:227) at org.eclipse.pde.internal.preferences.AdvancedTracingPreferencePage.pluginSelecte d(AdvancedTracingPreferencePage.java:231) at org.eclipse.pde.internal.preferences.AdvancedTracingPreferencePage.access$5 (AdvancedTracingPreferencePage.java:225) at org.eclipse.pde.internal.preferences.AdvancedTracingPreferencePage$2.selectionCh anged(AdvancedTracingPreferencePage.java:141) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged (Viewer.java:147) at org.eclipse.jface.viewers.StructuredViewer.updateSelection (StructuredViewer.java:999) at org.eclipse.jface.viewers.StructuredViewer.handleSelect (StructuredViewer.java:466) at org.eclipse.jface.viewers.AbstractTreeViewer$1.widgetSelected (AbstractTreeViewer.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1205) at org.eclipse.jface.window.Window.runEventLoop(Window.java:538) at org.eclipse.jface.window.Window.open(Window.java:525) at org.eclipse.ui.internal.OpenPreferencesAction.run (OpenPreferencesAction.java:47) at org.eclipse.jface.action.Action.runWithEvent(Action.java:452) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1413) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1205) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:788) at org.eclipse.ui.internal.Workbench.run(Workbench.java:771) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:777) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/views/properties/PropertySheetPage.java