Skip to content

Instantly share code, notes, and snippets.

@takeru
Created May 14, 2011 06:20
Show Gist options
  • Select an option

  • Save takeru/971981 to your computer and use it in GitHub Desktop.

Select an option

Save takeru/971981 to your computer and use it in GitHub Desktop.
https://github.com/nishidayuya/ruboto-irb/blob/master/assets/demo-scripts/demo-android-api.rb#L174
https://github.com/nishidayuya/ruboto-irb/blob/master/assets/demo-scripts/demo-android-api.rb#L344
Done
>>[Running editor script (ruboto.rb)]
<script>:29 warning: already initialized constant Id
<script>:34 warning: already initialized constant AndroidIds
=> nil
>> [Running editor script (ruboto.rb)]
<script>:29 warning: already initialized constant Id
<script>:34 warning: already initialized constant AndroidIds
=> nil
>> [Running editor script (demo-ruboto.rb)]
=> org.ruboto.irb.IRB@2bd7bac8
>> [Running editor script (demo-android-api.rb)]
=> #<Java::OrgRuboto::RubotoActivity:0x2be2b9b0>
>> [Running editor script (demo-android-api.rb)]
=> #<Java::OrgRuboto::RubotoActivity:0x2bb5ec20>
>> [Running editor script (demo-android-api.rb)]
=> #<Java::OrgRuboto::RubotoActivity:0x2be36eb0>
>> org.jruby.exceptions.RaiseException: (RangeError) too big for int: 4294967295
at #<Class:0x12bd8fdb0>.custom_title(<script>:174)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:268)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:228)
at #<Class:0x12bd8fdb0>.on_create(<script>:143)
at org.jruby.RubyKernel.instance_eval(org/jruby/RubyKernel.java:2021)
at Java::OrgRuboto::RubotoActivity.on_create(<script>:143)
at #<Class:0x12b0ab0c8>.(root)(<script>:1)
org.jruby.exceptions.RaiseException: (RangeError) too big for int: 2298413056
at #<Class:0x12bd23170>.arcs(<script>:344)
at org.jruby.RubyKernel.instance_eval(org/jruby/RubyKernel.java:2021)
at Java::OrgRuboto::RubotoActivity.on_create(<script>:142)
at #<Class:0x12b0ab0c8>.(root)(<script>:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment