Created
May 9, 2012 18:53
-
-
Save arturaz/2647953 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?> Pmg.Runner.ensurePool( | |
?> galaxy.id.to_java(:int), galaxy.ruleset, | |
?> galaxy.pool_free_zones.to_java(:int), | |
?> max_zone_iterations.to_java(:int), | |
?> galaxy.pool_free_home_ss.to_java(:int), | |
?> max_home_ss_iterations.to_java(:int) | |
>> ) | |
TypeError: cannot convert instance of class org.jruby.java.proxies.ConcreteJavaProxy to int | |
from (irb):37:in `evaluate' | |
from org/jruby/RubyKernel.java:1091:in `eval' | |
from org/jruby/RubyKernel.java:1413:in `loop' | |
from org/jruby/RubyKernel.java:1200:in `catch' | |
from org/jruby/RubyKernel.java:1200:in `catch' | |
from /home/arturas/.rvm/rubies/jruby-head-n16/bin/jirb:17:in `(root)' | |
>> galaxy.id.to_java(:int) | |
=> #<Java::JavaLang::Integer:0x10f2ab8> | |
>> galaxy.pool_free_zones.to_java(:int) | |
=> #<Java::JavaLang::Integer:0xbdcdf7> | |
>> | |
?> max_zone_iterations.to_java(:int) | |
=> #<Java::JavaLang::Integer:0x11d5422> | |
>> galaxy.pool_free_home_ss.to_java(:int) | |
=> #<Java::JavaLang::Integer:0x7bfdaf> | |
>> max_home_ss_iterations.to_java(:int) | |
=> #<Java::JavaLang::Integer:0xbdcdf7> |
Author
arturaz
commented
May 9, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment