Project: aptanastudio
Issue APSTUD-4983: Show in Resource History command generates casting error
Right clicking on a file in the Package Explorer and selecting Team > Show in Resource History produces the following error: {noformat} !ENTRY org.eclipse.jface 4 2 2012-07-03 10:24:36.959 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.ClassCastException: com.aptana.git.ui.internal.history.CommitGraphTable cannot be cast to org.eclipse.ui.part.PageBookView$SelectionProvider org.eclipse.ui.part.PageBookView.postSelectionChanged(PageBookView.java:910) org.eclipse.ui.part.PageBookView.access$3(PageBookView.java:908) org.eclipse.ui.part.PageBookView$3.selectionChanged(PageBookView.java:175) org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886) org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1726) org.eclipse.jface.viewers.TableViewer.setSelection(TableViewer.java:158) org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:394) com.aptana.git.ui.internal.history.CommitGraphTable.setCommits(CommitGraphTable.java:116) com.aptana.git.ui.internal.history.GitHistoryPage$1$1.run(GitHistoryPage.java:150) org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3529) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3182) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) org.eclipse.equinox.launcher.Main.run(Main.java:1438) org.eclipse.equinox.launcher.Main.main(Main.java:1414) {noformat}
Story points: 8