java/java/mirah woe

Exception in thread “main” org.jruby.exceptions.RaiseException: (ArgumentError) Constructor invocation failed: tried to access method RubyFromJava.<init>()V from class org.jruby.proxy.RubyFromJava$Proxy0

 

meant “you tried to access a constructor of a java class that wasn’t public or wasn’t in the same package or something like that” (for me, scripting jruby, this meant “remove your initializer from the ruby class” or “make the parent class initializer protected access”

 

2 thoughts on “java/java/mirah woe

  1. related:

    Exception in thread “main” org.jruby.exceptions.RaiseException: (TypeError) superclass must be a Class (# given)

    (wrong class/package name)

    xception in thread “main” org.jruby.exceptions.RaiseException: (ArgumentError) Constructor invocation failed: tried to access method org.jruby.RubyFromJava.()V from class org.jruby.proxy.org.jruby.RubyFromJava$Proxy0
    at #.(root)(

Leave a Reply

Your email address will not be published. Required fields are marked *


× five = 5

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>