java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.Integer list(4) ^ called at test.orc:33:53


Solutions on the web

Solution icon of github
scala.math.BigInt cannot be cast to java.lang.Integer list(4) ^ called at test.orc:33:53

Solution icon of github
scala.math.BigInt cannot be cast to java.lang.Integer

Solution icon of stackoverflow
scala.math.BigInt cannot be cast to java.lang.Integer

Solution icon of github
java.lang.String cannot be cast to java.lang.Integer

Solution icon of github
org.joda.time.Period cannot be cast to java.lang.Integer

Solution icon of github
scala.Some cannot be cast to java.lang.Integer

Solution icon of github
via GitHub by seuchoi
, 1 year ago
java.lang.Long cannot be cast to java.lang.Integer

Solution icon of github
java.lang.Long cannot be cast to java.lang.Integer

Solution icon of googlegroups
via Google Groups by Unknown author, 4 months ago
java.lang.String cannot be cast to java.lang.Integer

Solution icon of googlegroups
via Google Groups by Paul Phillips, 3 months ago
java.lang.String cannot be cast to java.lang.Integer

Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 4 months ago
Once, 5 months ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
5 times, 10 months ago
4 more bugmates