java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Is this scalac bug?
    via Stack Overflow by Kenji Yoshida
    ,
  • Some constructor with asInstanceOf
    via Stack Overflow by CheatEx
    ,
  • Class cast exception when using AnyVal
    via Stack Overflow by Keros
    ,
    • java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.Integer list(4) ^ called at test.orc:33:53 at scala.runtime.BoxesRunTime.unboxToInt(BoxesRunTime.java:106) at scala.collection.immutable.List.apply(List.scala:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at orc.values.sites.OrcJavaCompatibility$InvocableMethod.invoke(OrcJavaCompatibility.scala:91) at orc.values.sites.JavaProxy.invoke(JavaProxies.scala:103) at orc.values.sites.JavaCall$.apply(JavaProxies.scala:62) at orc.run.extensions.SupportForJavaObjectInvocation$class.invoke(SupportForJavaObjectInvocation.scala:32) at orc.run.StandardOrcRuntime.orc$run$extensions$SupportForSiteInvocation$$super$invoke(StandardOrcRuntime.scala:22) at orc.run.extensions.SupportForSiteInvocation$class.invoke(SupportForSiteInvocation.scala:38) at orc.run.StandardOrcRuntime.invoke(StandardOrcRuntime.scala:22) at orc.run.core.SiteCallHandle.run(SiteCallHandle.scala:37) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695)

    Users with the same issue

    bandoca
    2 times, last one,
    poroszd
    1 times, last one,
    Handemelindo
    1 times, last one,
    Unknown visitor1 times, last one,
    balintn
    5 times, last one,
    4 more bugmates