You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this code happen to ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException: -1
at org.jruby.org.objectweb.asm.Frame.a(Unknown Source)
at org.jruby.org.objectweb.asm.Frame.a(Unknown Source)
at org.jruby.org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.jruby.compiler.impl.SkinnyMethodAdapter.end(SkinnyMethodAdapter.java:563)
at org.jruby.compiler.impl.SkinnyMethodAdapter.end(SkinnyMethodAdapter.java:540)
at org.jruby.internal.runtime.methods.InvocationMethodFactory.addAnnotatedMethodInvoker(InvocationMethodFactory.java:1529)
at org.jruby.internal.runtime.methods.InvocationMethodFactory.getAnnotatedMethodClass(InvocationMethodFactory.java:845)
at org.jruby.internal.runtime.methods.InvocationMethodFactory.getAnnotatedMethod(InvocationMethodFactory.java:894)
at org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:805)
at org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:768)
at org.jruby.anno.TypePopulator$DefaultTypePopulator.populate(TypePopulator.java:103)
at org.jruby.RubyModule.defineAnnotatedMethodsIndividually(RubyModule.java:762)
at org.jruby.RubyModule.defineAnnotatedMethods(RubyModule.java:633)
at Bug.main(Bug.java:20)
Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) -1
The text was updated successfully, but these errors were encountered:
this is actually how the extension API works (even in 9K) - you get all of the arguments in a single [array] when it's part of the method signature ... but you can use over-loads to handle cases based on argument count ... if that helps
ArrayIndexOutOfBoundsException raises when Combining specific args with required.
i use
code is
this code happen to ArrayIndexOutOfBoundsException
The text was updated successfully, but these errors were encountered: