Skip to content

Instantly share code, notes, and snippets.

@Domon
Created August 5, 2012 16:58
Show Gist options
  • Select an option

  • Save Domon/3265909 to your computer and use it in GitHub Desktop.

Select an option

Save Domon/3265909 to your computer and use it in GitHub Desktop.
Errors when creating a new production (JRuby 1.6.5, limelight 0.6.14)
$ rvm install jruby-1.6.5
$ rvm use jruby-1.6.5
$ ruby --version
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_33) [darwin-x86_64-java]

$ gem install limelight
$ limelight --version
limelight 0.6.14

$ limelight create production hello_world
NativeException: java.lang.NullPointerException: null
  (root) at ~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/bin/limelight:9
    load at org/jruby/RubyKernel.java:1063
         at ~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/bin/limelight:21
    eval at org/jruby/RubyKernel.java:1088
  (root) at ~/.rvm/gems/jruby-1.6.5/bin/ruby_noexec_wrapper:14
$ limelight open
WARNING 00:53:57:967 : Studio - failed to open production: ~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/productions/playbills.lll
WARNING 00:53:57:973 : org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `prop_reader' for home::Home:Module
	at Module.Home(file:~/Library/Application%20Support/Limelight/Productions/1344185636878/playbills/home/players/home.rb:3)
	at Limelight::Player.(eval)(file:~/Library/Application%20Support/Limelight/Productions/1344185636878/playbills/home/players/home.rb:1)
	at org.jruby.RubyModule.module_eval(org/jruby/RubyModule.java:2250)
	at Limelight::PlayerRecruiter.recruit_player(~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/ruby/lib/limelight/player_recruiter.rb:38)
	at #<Class:0x53566060>.build_props(~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/ruby/lib/limelight/dsl/prop_builder.rb:20)
	at Limelight::Production.load_scene(~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/ruby/lib/limelight/production.rb:229)
	at .(:1)
	at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1063)
	at .(:1)
	at org.jruby.RubyKernel.eval(org/jruby/RubyKernel.java:1088)
	at Users.domon.$_dot_rvm.gems.jruby_minus_1_dot_6_dot_5.bin.ruby_noexec_wrapper.(root)(~/.rvm/gems/jruby-1.6.5/bin/ruby_noexec_wrapper:14)

NativeException: java.lang.NoClassDefFoundError: limelight/util/Opts
  (root) at ~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/bin/limelight:9
    load at org/jruby/RubyKernel.java:1063
         at ~/.rvm/gems/jruby-1.6.5/gems/limelight-0.6.14-java/bin/limelight:21
    eval at org/jruby/RubyKernel.java:1088
  (root) at ~/.rvm/gems/jruby-1.6.5/bin/ruby_noexec_wrapper:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment