java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus

Stack Overflow | Jai | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    getting java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus while opening class file

    Stack Overflow | 7 months ago | Jai
    java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus
  2. 0

    Another Error creating index

    GitHub | 2 years ago | rooneyp1976
    java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus
  3. 0

    GitHub comment 69#104182761

    GitHub | 2 years ago | rooneyp1976
    java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 69#104194918

    GitHub | 2 years ago | rooneyp1976
    java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus

      at org.eclipse.jdt.internal.core.ClassFile.getBuffer()
    2. JDT Core
      ClassFile.getSource
      1. org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:367)
      2. org.eclipse.jdt.internal.core.ClassFile.getSource(ClassFile.java:509)
      2 frames
    3. org.sf.feeling
      JavaDecompilerClassFileEditor.doSetInput
      1. org.sf.feeling.decompiler.editor.JavaDecompilerClassFileEditor.doOpenBuffer(JavaDecompilerClassFileEditor.java:99)
      2. org.sf.feeling.decompiler.editor.JavaDecompilerClassFileEditor.doOpenBuffer(JavaDecompilerClassFileEditor.java:81)
      3. org.sf.feeling.decompiler.editor.JavaDecompilerClassFileEditor.doOpenBuffer(JavaDecompilerClassFileEditor.java:71)
      4. org.sf.feeling.decompiler.editor.JavaDecompilerClassFileEditor.doSetInput(JavaDecompilerClassFileEditor.java:339)
      4 frames
    4. Text Editor Framework
      AbstractTextEditor$19.run
      1. org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3220)
      1 frame
    5. JFace
      ModalContext.run
      1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
      2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
      2 frames
    6. Eclipse UI
      WorkbenchWindow$13.run
      1. org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:2157)
      1 frame
    7. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    8. Eclipse UI
      WorkbenchWindow.run
      1. org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2153)
      1 frame
    9. Text Editor Framework
      AbstractTextEditor.init
      1. org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3238)
      2. org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3265)
      2 frames
    10. Eclipse UI
      EditorReference.initialize
      1. org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:390)
      1 frame
    11. org.eclipse.ui
      CompatibilityPart.create
      1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:305)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    13. org.eclipse.e4
      ContextInjectionFactory.make
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)
      4. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)
      5. org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)
      6. org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)
      7. org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      7 frames
    14. Eclipse Workbench
      ReflectionContributionFactory.create
      1. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
      2. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
      3. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
      3 frames
    15. org.eclipse.e4
      ContributedPartRenderer.createWidget
      1. org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:127)
      1 frame
    16. Eclipse Workbench SWT
      PartRenderingEngine$7.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:983)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:737)
      5. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:731)
      5 frames
    17. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine.createGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)
      1 frame
    19. Eclipse Workbench
      PartServiceImpl$1.handleEvent
      1. org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:95)
      1 frame
    20. org.eclipse.e4
      UIEventHandler$1.run
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
      1 frame
    21. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
      1 frame
    22. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
      1 frame
    23. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
      1 frame
    24. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
      1 frame
    25. org.eclipse.e4
      UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
      1 frame
    26. org.eclipse.equinox
      EventHandlerTracker.dispatchEvent
      1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
      2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      3 frames
    27. Eclipse OSGi
      ListenerQueue.dispatchEventSynchronous
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      2 frames
    28. org.eclipse.equinox
      EventComponent.sendEvent
      1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      3 frames
    29. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
      1 frame
    30. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
      1 frame
    31. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    32. org.eclipse.e4
      ElementContainerImpl.setSelectedElement
      1. org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
      1 frame
    33. Eclipse Workbench
      PartServiceImpl.showPart
      1. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:488)
      2. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:454)
      3. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:705)
      4. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:392)
      5. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1145)
      5 frames
    34. Eclipse UI
      WorkbenchPage$9.run
      1. org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3210)
      2. org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3125)
      3. org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3107)
      3 frames
    35. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    36. Eclipse UI
      WorkbenchPage.openEditor
      1. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3102)
      2. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3066)
      3. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056)
      3 frames
    37. org.sf.feeling
      OpenClassWithContributionFactory$OpenClassesAction.run
      1. org.sf.feeling.decompiler.actions.OpenClassWithContributionFactory$OpenClassesAction.run(OpenClassWithContributionFactory.java:119)
      1 frame
    38. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      4 frames
    39. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
      5 frames
    40. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    41. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    42. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    43. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    44. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    45. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    46. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    47. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    48. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      1 frame
    49. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    50. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    51. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    52. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      3 frames