java.lang.ClassCastException

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


Solutions on the web19934

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
scala.math.BigInt cannot be cast to java.lang.String

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
scala.math.BigInt cannot be cast to scala.math.BigDecimal

Solution icon of web
java.lang.Integer cannot be cast to java.math.BigDecimal at net.sf.jasperreports.engine.fill.JRBigDecimalSumIncrementer.increment(JRBigDecimalIncrementerFactory.java:335 at net.sf.jasperreports.engine.fill.JRAbstractExtendedIncrementer.increment(JRAbstractExtendedIncrementer.java:4

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
java.lang.Long cannot be cast to java.lang.Integer at jFormTKServlets.JFormTKServletsServlet.doGet( JFormTKServletsServlet.java:330)

Solution icon of github
via GitHub by maxg
, 6 months ago
java.lang.Double cannot be cast to java.lang.Integer at jdk.nashorn.internal.scripts.Script$\^eval\_$4._L1$_L1822$_L1836(<eval>:1852) at jdk.nashorn.internal.scripts.Script$\^eval\_.runScript(<eval>:1)

Solution icon of coderanch
via Coderanch by Samanthi perera, 7 months ago
java.lang.Integer cannot be cast to [Ljava.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, 2 months ago
Once, 3 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
5 times, 8 months ago
4 more bugmates