Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 451819

Summary: [egit] CCE in RebaseResultDialog$2.run: FileRevisionTypedElement cannot be cast to LocalResourceTypedElement
Product: [Technology] EGit Reporter: EPP Error Reports <error-reports-inbox>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: marcel.bruch, twolf
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description EPP Error Reports CLA 2014-11-17 04:43:53 EST
Hello committers,

we received a new error report for Eclipse 4.5.0.I20141029-2000.


General Information:
    anonymous-id:         b522fd4f-ee14-4b7f-8945-df59c6da9c6c
    eclipse-build-id:     4.5.0.I20141029-2000
    eclipse-product:      org.eclipse.epp.package.committers.product
    operating system:     Linux 3.16.0 (x86_64) - gtk
    java-runtime-version: 1.7.0_65-b32

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.databinding.observable_1.4.1.v20140910-2107
    2. org.eclipse.core.databinding_1.4.100.v20141002-1314
    3. org.eclipse.core.runtime_3.10.0.v20140724-1132
    4. org.eclipse.e4.ui.workbench_1.3.0.v20141024-2249
    5. org.eclipse.e4.ui.workbench.swt_0.12.100.v20141020-2115
    6. org.eclipse.egit.ui_3.6.0.201411140902
    7. org.eclipse.egit_3.6.0.201411140902
    8. org.eclipse.equinox.app_1.3.200.v20130910-1609
    9. org.eclipse.equinox.launcher_1.3.0.v20140415-2008
    10. org.eclipse.jface_3.11.0.v20141013-0842
    11. org.eclipse.recommenders.stacktraces.rcp_2.1.11.v20141112-0752
    12. org.eclipse.swt_3.104.0.v20141029-1116
    13. org.eclipse.team.ui_3.7.100.v20130710-1213
    14. org.eclipse.ui_3.107.0.v20141010-0853
    15. org.eclipse.ui.ide.application_1.0.600.v20141003-0522
    16. org.eclipse.ui.ide_3.10.100.v20141024-1629


Error Status:

    code:                   0
    plugin:                 org.eclipse.ui_3.107.0.v20141010-0853
    message:                Unhandled event loop exception
    fingerprint:            936948a5
    exception class:        org.eclipse.swt.SWTException
    exception message:      Failed to execute runnable (java.lang.ClassCastException: org.eclipse.egit.ui.internal.revision.FileRevisionTypedElement cannot be cast to org.eclipse.team.internal.ui.synchronize.LocalResourceTypedElement)
    number of children:     0
    
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.eclipse.egit.ui.internal.revision.FileRevisionTypedElement cannot be cast to org.eclipse.team.internal.ui.synchronize.LocalResourceTypedElement)
    at org.eclipse.swt.SWT.error(SWT.java:4457)
    at org.eclipse.swt.SWT.error(SWT.java:4372)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    at org.eclipse.jface.window.Window.open(Window.java:803)
    at org.eclipse.recommenders.internal.stacktraces.rcp.LogListener$3.run(LogListener.java:159)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    at org.eclipse.jface.window.Window.open(Window.java:803)
    at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:330)
    at org.eclipse.egit.ui.internal.rebase.RebaseResultDialog$2.run(RebaseResultDialog.java:140)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:638)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:582)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
caused by: java.lang.ClassCastException: org.eclipse.egit.ui.internal.revision.FileRevisionTypedElement cannot be cast to org.eclipse.team.internal.ui.synchronize.LocalResourceTypedElement
    at org.eclipse.team.internal.ui.mapping.ResourceDiffCompareInput.update(ResourceDiffCompareInput.java:279)
    at org.eclipse.team.internal.ui.mapping.CompareInputChangeNotifier.fireChange(CompareInputChangeNotifier.java:389)
    at org.eclipse.team.internal.ui.mapping.CompareInputChangeNotifier.fireChanges(CompareInputChangeNotifier.java:295)
    at org.eclipse.team.internal.ui.mapping.CompareInputChangeNotifier$1.run(CompareInputChangeNotifier.java:253)
    at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
    at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    at org.eclipse.jface.window.Window.open(Window.java:803)
    at org.eclipse.recommenders.internal.stacktraces.rcp.LogListener$3.run(LogListener.java:159)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    at org.eclipse.jface.window.Window.open(Window.java:803)
    at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:330)
    at org.eclipse.egit.ui.internal.rebase.RebaseResultDialog$2.run(RebaseResultDialog.java:140)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3778)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:638)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:582)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
   

    

Messages, stacktraces, and nested status objects may be shortened. Please visit 
http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/-
for the complete error log.


Some general information and guidelines about how to use this bug report:

1. Feel free to move this bug to your own product and components. Please note
   that this bug is only accessible to Eclipse committers. If you move this bug
   please make sure that it's still in the "Security Advisor" group.

2. The bug contents of the fields status, resolution, keywords, and whitelist
   are presented to reporters. If you needs more information, please set the
   keyword "needinfo". This will trigger a specialized dialog asking the user
   to provide further details.

3. Use the following resolutions for the following situations:
   * CLOSED / FIXED: This bug has been fixed. Please provide additional
     information in the whiteboard field.
   * CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue
     and request further information. Please use the whiteboard text to specify
     more details what a user should provide and how.
   * CLOSED / INVALID: Use this resolution if the reported problem is a
     'user-configuration' problem. Please consider giving hints how to fix
     these issues in the whiteboard field.
   * CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin
     not developed at Eclipse.org
   * CLOSED / MOVED: If this bug has been moved else where. Please provide more 
     information (e.g. a link) in the whiteboard field.

4. Please remember that only committers can view and comment on this bug. You
   may, however, manually add the reporting user to the bug's cc list. But keep
   in mind that the report may contains sensitive information.

5. If you are missing a feature, please file a enhancement request here:
   https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces
    
 

Thank you for your assistance.
Your friendly error-reports-inbox.


--
* Note: The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.
Comment 1 EPP Error Reports CLA 2014-11-17 04:43:55 EST
I've looked up the (to date) top-3 most similar bug groups and listed the 
closest bug of each group below. This report may or may not be duplicate of
those (low or similar scores for all entries may indicate that this hasn't
been reported yet):

>     1. Bug 447938: [egit] HIDDEN – 0,4    
>     2. Bug 450719: [platform] Problems occurred when invoking code from plug-in: "org.eclipse.jface". – 0,6    
>     3. Bug 450664: [egit] UI freeze of 2.6s at 17:47:55.425 – 0,6    


If this report actually is a duplicate of those, please mark it as such. This
information helps me to improve the recommendations further for the next issue.

Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 2 EPP Error Reports CLA 2014-11-17 05:10:09 EST
*** Bug 451828 has been marked as a duplicate of this bug. ***
Comment 3 EPP Error Reports CLA 2014-11-17 05:10:18 EST
*** Bug 451829 has been marked as a duplicate of this bug. ***
Comment 4 Marcel Bruch CLA 2014-11-18 01:03:32 EST
Moving to egit for review.
Comment 5 Thomas Wolf CLA 2019-11-24 14:51:01 EST
Very old EGit version. Closing as stale.