Project: JDT
Bug 130027 Changing "Show members in Package Explorer" causes error
Reported: 2006-03-01 15:42:22 | Status: resolved fixed

Using 3.2 M5 Checking or unchecking Java > Appearance > "Show members in Package Explorer" gives the following error and log entry. It also kills the Package Explorer view menu button. "Error notifying a preference change listener. Check the log for details." ----- !ENTRY org.eclipse.ui.workbench 4 2 2006-03-01 14:24:58.695 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.IllegalArgumentException: Group not found: working_set_action_group at org.eclipse.jface.action.ContributionManager.addToGroup(ContributionManager.java:124) at org.eclipse.jface.action.ContributionManager.appendToGroup(ContributionManager.java:138) at org.eclipse.jdt.internal.ui.workingsets.WorkingSetShowActionGroup.addAction(WorkingSetShowActionGroup.java:71) at org.eclipse.jdt.internal.ui.workingsets.WorkingSetShowActionGroup.fillViewMenu(WorkingSetShowActionGroup.java:59) at org.eclipse.jdt.internal.ui.workingsets.WorkingSetShowActionGroup.fillActionBars(WorkingSetShowActionGroup.java:52) at org.eclipse.jdt.internal.ui.workingsets.ViewActionGroup.fillActionBars(ViewActionGroup.java:85) at org.eclipse.jdt.internal.ui.actions.CompositeActionGroup.fillActionBars(CompositeActionGroup.java:68) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.fillActionBars(PackageExplorerActionGroup.java:171) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.updateActionBars(PackageExplorerActionGroup.java:180) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.propertyChange(PackageExplorerPart.java:1451) at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:361) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:358) at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:769) at org.eclipse.jdt.internal.ui.preferences.AppearancePreferencePage.performOk(AppearancePreferencePage.java:207) at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:854) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:816) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148) at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:834) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:370) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:164) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:222) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:645) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907) at org.eclipse.jface.window.Window.runEventLoop(Window.java:811) at org.eclipse.jface.window.Window.open(Window.java:789) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65) at org.eclipse.jface.action.Action.runWithEvent(Action.java:492) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:480) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:392) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/ViewActionGroup.java