java.lang.invoke.WrongMethodTypeException

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.

  • GitHub comment 4148#246375124
    via GitHub by andreaseger
    ,
    • java.lang.invoke.WrongMethodTypeException: cannot explicitly cast MethodHandle(RubyObjectVar5)Object to (IRubyObject,IRubyObject[],Block)IRubyObject at java.lang.invoke.MethodHandles.explicitCastArgumentsChecks(MethodHandles.java:2038) at java.lang.invoke.MethodHandles.explicitCastArguments(MethodHandles.java:2026) at com.headius.invokebinder.transform.Cast.up(Cast.java:43) at com.headius.invokebinder.Binder.invoke(Binder.java:1110) at com.headius.invokebinder.Binder.getField(Binder.java:1355) at com.headius.invokebinder.Binder.getFieldQuiet(Binder.java:1376) at org.jruby.ir.targets.Bootstrap.createAttrReaderHandle(Bootstrap.java:422) at org.jruby.ir.targets.Bootstrap.buildAttrHandle(Bootstrap.java:381) at org.jruby.ir.targets.InvokeSite.getHandle(InvokeSite.java:197) at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:136)
    No Bugmate found.