Procedure to Repeat:
1. Indexing into an Orc list to retrieve an element.
Expected / Actual Results:
Should receive the element at position index. Instead receive scala 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)
Original issue reported on code.google.com by crystal....@gmail.com on 4 May 2014 at 6:35
Original issue reported on code.google.com by
crystal....@gmail.com
on 4 May 2014 at 6:35