Skip to content

Instantly share code, notes, and snippets.

@PragTob
Created August 24, 2012 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PragTob/3453472 to your computer and use it in GitHub Desktop.
Save PragTob/3453472 to your computer and use it in GitHub Desktop.
error rquiring tmpdir with jruby-head and simplecov
tobi@speedy ~/github/shoes4 $ rake spec
jruby --debug --1.9 -Ispec -S ./bin/rspec --tty spec/shoes/list_box_spec.rb spec/shoes/sound_spec.rb spec/shoes/flow_spec.rb spec/shoes/border_spec.rb spec/shoes/app_spec.rb spec/shoes/button_spec.rb spec/shoes/edit_box_spec.rb spec/shoes/check_spec.rb spec/shoes/shape_spec.rb spec/shoes/animation_spec.rb spec/shoes/text_block_spec.rb spec/shoes/line_spec.rb spec/shoes/radio_spec.rb spec/shoes/framework_learning_spec.rb spec/shoes/progress_spec.rb spec/shoes/image_spec.rb spec/shoes/configuration_spec.rb spec/shoes/color_spec.rb spec/shoes/edit_line_spec.rb spec/shoes/logger_spec.rb spec/shoes/oval_spec.rb spec/shoes/background_spec.rb spec/shoes/logger/log4j_spec.rb spec/shoes/logger/ruby_spec.rb
LoadError: load error: tmpdir -- java.lang.ArrayIndexOutOfBoundsException: -1
require at org/jruby/RubyKernel.java:1009
require at org/jruby/RubyKernel.java:1018
(root) at /home/tobi/.rvm/gems/jruby-head@shoes/gems/pry-0.9.10-java/lib/pry/default_commands/input_and_output.rb:1
require at org/jruby/RubyKernel.java:1018
(root) at /home/tobi/.rvm/gems/jruby-head@shoes/gems/pry-0.9.10-java/lib/pry/commands.rb:1
require at org/jruby/RubyKernel.java:1018
(root) at /home/tobi/.rvm/gems/jruby-head@shoes/gems/pry-0.9.10-java/lib/pry/commands.rb:6
require at org/jruby/RubyKernel.java:1018
(root) at /home/tobi/.rvm/gems/jruby-head@shoes/gems/pry-0.9.10-java/lib/pry.rb:1
require at org/jruby/RubyKernel.java:1018
(root) at /home/tobi/.rvm/gems/jruby-head@shoes/gems/pry-0.9.10-java/lib/pry.rb:211
require at org/jruby/RubyKernel.java:1018
(root) at /home/tobi/github/shoes4/spec/spec_helper.rb:1
load at org/jruby/RubyKernel.java:1044
(root) at /home/tobi/github/shoes4/spec/spec_helper.rb:8
collect at org/jruby/RubyArray.java:2342
map at org/jruby/RubyArray.java:2355
(root) at /home/tobi/github/shoes4/spec/shoes/spec_helper.rb:1
(root) at /home/tobi/github/shoes4/spec/shoes/spec_helper.rb:1
(root) at /home/tobi/github/shoes4/spec/shoes/list_box_spec.rb:1
(root) at /home/tobi/github/shoes4/spec/shoes/list_box_spec.rb:1
call at org/jruby/RubyProc.java:261
call at org/jruby/RubyProc.java:213
CoverageModule.java:40:in `result': java.lang.NullPointerException
from CoverageModule$INVOKER$s$0$0$result_DBG.gen:-1:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from CallOneArgNode.java:57:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from OpAsgnOrNode.java:100:in `interpret'
from IfNode.java:116:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from EnsureNode.java:96:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:139:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from CallNoArgNode.java:63:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:209:in `evalBlockBody'
from Interpreted19Block.java:197:in `yield'
from Interpreted19Block.java:128:in `call'
from Block.java:89:in `call'
from RubyProc.java:261:in `call'
from RubyProc.java:249:in `call19'
from RubyProc$INVOKER$i$0$0$call19_DBG.gen:-1:in `call'
from DynamicMethod.java:200:in `call'
from DynamicMethod.java:196:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:209:in `evalBlockBody'
from Interpreted19Block.java:197:in `yield'
from Interpreted19Block.java:128:in `call'
from Block.java:89:in `call'
from RubyProc.java:261:in `call'
from RubyProc.java:213:in `call'
from Ruby.java:2859:in `tearDown'
from Ruby.java:2843:in `tearDown'
from Main.java:268:in `internalRun'
from Main.java:231:in `run'
from Main.java:215:in `run'
from Main.java:195:in `main'
rake aborted!
Command failed with status (1): [jruby --debug --1.9 -Ispec -S ./bin/rspec...]
Tasks: TOP => spec:shoes
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment