Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ScriptBytecodeAdapter.castToType() has thrown a GroovyCastException
    Apache Groovy
    4
    15
    1
  2. DefaultTypeTransformation.castToType() has thrown a GroovyCastException
    Apache Groovy
    5
    16
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'class org.jetbrains.kotlin.idea.internal.KotlinDecompilerService$Companion' with class 'java.lang.Class' to class 'org.jetbrains.kotlin.idea.internal.KotlinDecompilerService$Companion'
2 matching frames hidden
    at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:232)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.castToType(ScriptBytecodeAdapter.java:603)

External results for this pattern (10)

  1. aristotllvia Stack Overflow5 months ago
    Cannot cast object 'class org.jetbrains.kotlin.idea.internal.KotlinDecompilerService$Companion' with class 'java.lang.Class' to class 'org.jetbrains.kotlin.idea.internal.KotlinDecompilerService$Companion'
    Show stack trace
  2. turtlecodervia freeplane5 months ago
    Cannot cast object 'sun.awt.image.MultiResolutionCachedImage@28c15eb4' with class 'sun.awt.image.MultiResolutionCachedImage' to class 'java.awt.image.BufferedImage'
    Show stack trace
  3. Ziphilvia Stack Overflow5 months ago
    Cannot cast object 'main.Test@543e710e' with class 'main.Test' to class 'main.A'
    Show stack trace
  4. rahulsomvia GitHub5 months ago
    Cannot cast object '5a0146e9c4f090d4c3950012' with class 'java.lang.String' to class 'org.grails.datastore.mapping.dirty.checking.DirtyCheckable'
    Show stack trace
  5. ias-dtvia GitHub5 months ago
    Cannot cast object 'src/main/webapp' with class 'java.lang.String' to class 'java.io.File'
    Show stack trace
  6. Guillaume Delcroixvia Apache's JIRA Issue Tracker6 months ago
    Cannot cast object 'Test1@4b7d52f7' with class 'Test1' to class 'java.lang.Thread'
    Show stack trace
  7. Cannot cast object '[Ljava.lang.Object;@11890e4' with class '[Ljava.lang.Object;' to class 'hudson.plugins.tfs.model.ChangeSet$Item' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: hudson.plugins.tfs.model.ChangeSet$Item(hudson.plugins.tfs.model.ChangeSet)
    Show stack trace
  8. chrismairvia GitHub7 months ago
    Cannot cast object 'Script1$_run_closure1$_closure10@6e6f2380' with class 'Script1$_run_closure1$_closure10' to class 'java.util.Map'
    Show stack trace
  9. SpyrosKouvia GitHub9 months ago
    Cannot cast object 'task ':myProject:vaadinCompile'' with class 'com.devsoap.plugin.tasks.CompileWidgetsetTask_Decorated' to class 'com.devsoap.plugin.tasks.CompileWidgetsetTask'
    Show stack trace
  10. Cannot cast object 'com.dabsquared.gitlabjenkins.connection.GitLabApiTokenImpl@4046fd60' with class 'com.dabsquared.gitlabjenkins.connection.GitLabApiTokenImpl' to class 'com.dabsquared.gitlabjenkins.connection.GitLabApiTokenImpl'
    Show stack trace