java.lang.ClassCastException: org.eclipse.jdt.internal.core.SourceType cannot be cast to org.eclipse.jdt.core.ICompilationUnit

GitHub | dmazinanian | 5 months ago
  1. 0

    ClassCastException (JEdit-CCFinder)

    GitHub | 5 months ago | dmazinanian
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.SourceType cannot be cast to org.eclipse.jdt.core.ICompilationUnit
  2. 0

    Failure in InlineMethodTests#testBinaryInlineAll

    GitHub | 6 years ago | vazexqi
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.ClassFile cannot be cast to org.eclipse.jdt.core.ICompilationUnit
  3. 0

    ClassCastException while copying a .class file to wrong source package

    Eclipse Bugzilla | 5 years ago | irozhkov2007
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.ClassFile cannot be cast to org.eclipse.jdt.core.ICompilationUnit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A Programmer's Bane

    blogspot.it | 3 months ago
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.SourceType cannot be cast to java.lang.String
  6. 0

    CCE when searching from ceylon.language source

    GitHub | 2 years ago | gavinking
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.SourceType cannot be cast to org.eclipse.jdt.internal.core.BinaryType

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.eclipse.jdt.internal.core.SourceType cannot be cast to org.eclipse.jdt.core.ICompilationUnit

      at gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.extractClone()
    2. gr.uom.java
      ExtractCloneRefactoring.checkFinalConditions
      1. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.extractClone(ExtractCloneRefactoring.java:496)
      2. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.apply(ExtractCloneRefactoring.java:327)
      3. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.checkFinalConditions(ExtractCloneRefactoring.java:4484)
      3 frames
    3. ca.concordia.jdeodorant
      Application.start
      1. ca.concordia.jdeodorant.eclipse.commandline.Application.testRefactoring(Application.java:626)
      2. ca.concordia.jdeodorant.eclipse.commandline.Application.start(Application.java:180)
      2 frames
    4. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    5. 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:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    6. 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
    7. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      4 frames