Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 268248 - error when customizing a common navigator
Summary: error when customizing a common navigator
Status: RESOLVED DUPLICATE of bug 265049
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Shawn Minto CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 20:44 EDT by Shawn Minto CLA
Modified: 2009-03-12 00:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Minto CLA 2009-03-11 20:44:51 EDT
When trying to customize a common navigator that is not the Project Explorer on 3.5, I get the following error due to some casts in teh WorkingSetActionProvider


Original Description:
-- Error Details --
Date: Wed Mar 11 15:49:12 PDT 2009
Message: Unhandled event loop exception
Severity: Error
Plugin: org.eclipse.ui
Session Data:
eclipse.buildId=I20090309-1300
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA

Exception Stack Trace:
java.lang.ClassCastException: com.tasktop.resources.ui.views.TasktopNavigatorView cannot be cast to org.eclipse.ui.navigator.resources.ProjectExplorer
	at org.eclipse.ui.internal.navigator.resources.actions.WorkingSetActionProvider$1.propertyChange(WorkingSetActionProvider.java:165)
	at org.eclipse.ui.actions.WorkingSetFilterActionGroup.firePropertyChange(WorkingSetFilterActionGroup.java:206)
	at org.eclipse.ui.actions.WorkingSetFilterActionGroup.setWorkingSet(WorkingSetFilterActionGroup.java:193)
	at org.eclipse.ui.internal.navigator.resources.actions.WorkingSetActionProvider$2.onExtensionActivation(WorkingSetActionProvider.java:198)
	at org.eclipse.ui.internal.navigator.NavigatorActivationService.notifyListeners(NavigatorActivationService.java:256)
	at org.eclipse.ui.internal.navigator.NavigatorActivationService.setActive(NavigatorActivationService.java:189)
	at org.eclipse.ui.internal.navigator.NavigatorActivationService.activateExtensions(NavigatorActivationService.java:346)
	at org.eclipse.ui.internal.navigator.filters.UpdateActiveExtensionsOperation.execute(UpdateActiveExtensionsOperation.java:119)
	at org.eclipse.ui.internal.navigator.filters.CommonFilterSelectionDialog.okPressed(CommonFilterSelectionDialog.java:231)
	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1161)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3480)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.internal.navigator.filters.SelectFiltersAction.run(SelectFiltersAction.java:51)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1161)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3480)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2393)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2357)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2209)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:499)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:492)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
Comment 1 Francis Upton IV CLA 2009-03-12 00:03:15 EDT

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