javax.script.ScriptException: org.jruby.embed.InvokeFailedException: (NameError) undefined local variable or method `binding_test' for main:Object

Stack Overflow | beyonddc | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot accessible variable in bindings in JRuby when using Invocable

    Stack Overflow | 7 months ago | beyonddc
    javax.script.ScriptException: org.jruby.embed.InvokeFailedException: (NameError) undefined local variable or method `binding_test' for main:Object

    Root Cause Analysis

    1. javax.script.ScriptException

      org.jruby.embed.InvokeFailedException: (NameError) undefined local variable or method `binding_test' for main:Object

      at org.jruby.embed.jsr223.JRubyEngine.wrapException()
    2. JRuby Main Maven Artifact
      JRubyEngine.invokeFunction
      1. org.jruby.embed.jsr223.JRubyEngine.wrapException(JRubyEngine.java:104)
      2. org.jruby.embed.jsr223.JRubyEngine.invokeFunction(JRubyEngine.java:245)
      2 frames