Skip to content

Instantly share code, notes, and snippets.

@vietj
Created January 23, 2015 16:58
Show Gist options
  • Save vietj/62a98bfdf8d8b9555cc8 to your computer and use it in GitHub Desktop.
Save vietj/62a98bfdf8d8b9555cc8 to your computer and use it in GitHub Desktop.
java.lang.AssertionError: org.jruby.embed.EvalFailedException: (TypeError) cannot convert instance of class org.jruby.RubyBoolean$True to class java.lang.String
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:90)
at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:142)
at io.vertx.test.lang.jruby.RubyTestBase.runTest(RubyTestBase.java:17)
at io.vertx.test.lang.jruby.ApiTest.runTest(ApiTest.java:490)
at io.vertx.test.lang.jruby.ApiTest.testOverloadedMethods(ApiTest.java:276)
Caused by: org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.RubyBoolean$True to class java.lang.String
at org.jruby.gen.InterfaceImpl21444603.getString(org/jruby/gen/InterfaceImpl21444603.gen:13)
at RUBY.overloaded_method(/Users/julien/java/vertx-lang-jruby/target/test-classes/testmodel/test_interface.rb:826)
at RUBY.overloaded_method(/Users/julien/java/vertx-lang-jruby/target/test-classes/testmodel/test_interface.rb:826)
at RUBY.test_overloaded_methods(/Users/julien/java/vertx-lang-jruby/target/test-classes/api_test.rb:613)
at RUBY.test_overloaded_methods(/Users/julien/java/vertx-lang-jruby/target/test-classes/api_test.rb:613)
at RUBY.(root)(<script>:1)
at RUBY.(root)(<script>:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment