-
-
Notifications
You must be signed in to change notification settings - Fork 943
Closed
Description
jruby -v
jruby 9.0.0.0-SNAPSHOT (2.2.0p0) 2015-01-05 6e85813 Java HotSpot(TM) 64-Bit Serv
er VM 25.25-b02 on 1.8.0_25-b18 +jit [Windows 8.1-amd64]
jruby -e "puts 'hello'"
TypeError: can't convert nil into String
reopen at org/jruby/RubyIO.java:568
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/io/console.rb:16
9
require at org/jruby/RubyKernel.java:954
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/rubygems/user_in
teraction.rb:1
require at org/jruby/RubyKernel.java:954
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/rubygems/user_in
teraction.rb:8
require at org/jruby/RubyKernel.java:954
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/rubygems/config_
file.rb:1
require at org/jruby/RubyKernel.java:954
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/rubygems/config_
file.rb:7
require at org/jruby/RubyKernel.java:954
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/rubygems/default
s/jruby.rb:1
load at org/jruby/RubyKernel.java:969
(root) at C:/moje/projekty/jruby alpha/jruby/lib/ruby/stdlib/rubygems/default
s/jruby.rb:1
jruby -J-Djruby.debug.loadService=true -J-Djruby.backtrace.style=raw -e "puts 'hello'"
...
2015-01-05T20:44:59.015+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/basic_specification.rb
2015-01-05T20:44:59.015+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/basic_specification.rb
2015-01-05T20:44:59.015+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/basic_specification.rb
2015-01-05T20:44:59.015+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/basic_specification.rb
2015-01-05T20:44:59.030+01:00: LoadService: trying builtinLib: rubygems/stub_spe
cification.rb
2015-01-05T20:44:59.030+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/stub_specification.rb
2015-01-05T20:44:59.030+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/stub_specification.rb
2015-01-05T20:44:59.030+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/stub_specification.rb
2015-01-05T20:44:59.030+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/stub_specification.rb
2015-01-05T20:44:59.030+01:00: LoadService: trying builtinLib: rubygems/util/str
ingio.rb
2015-01-05T20:44:59.030+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/util/stringio.rb
2015-01-05T20:44:59.046+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/util/stringio.rb
2015-01-05T20:44:59.046+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/util/stringio.rb
2015-01-05T20:44:59.046+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/util/stringio.rb
2015-01-05T20:44:59.109+01:00: LoadService: trying builtinLib: rubygems/exceptio
ns.rb
2015-01-05T20:44:59.109+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/exceptions.rb
2015-01-05T20:44:59.109+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/exceptions.rb
2015-01-05T20:44:59.109+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/exceptions.rb
2015-01-05T20:44:59.109+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/exceptions.rb
2015-01-05T20:44:59.124+01:00: LoadService: trying builtinLib: rubygems/defaults
/operating_system.rb
2015-01-05T20:44:59.140+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/defaults/operating_system.rb
2015-01-05T20:44:59.140+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/defaults/operating_system.rb
2015-01-05T20:44:59.140+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/defaults/operating_system.rb
2015-01-05T20:44:59.140+01:00: LoadService: trying jarExtension: rubygems/defaul
ts/operating_system
2015-01-05T20:44:59.140+01:00: LoadService: trying builtinLib: rubygems/defaults
/operating_system.jar
2015-01-05T20:44:59.140+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/defaults/operating_system.ja
r
2015-01-05T20:44:59.140+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/defaults/operating_system.jar
2015-01-05T20:44:59.140+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/defaults/operating_system.jar
2015-01-05T20:44:59.140+01:00: LoadService: trying fileInClasspath: rubygems/def
aults/operating_system.rb
2015-01-05T20:44:59.140+01:00: LoadService: trying fileInClasspath: rubygems/def
aults/operating_system.jar
2015-01-05T20:44:59.140+01:00: LoadService: trying builtinLib: rubygems/defaults
/jruby.rb
2015-01-05T20:44:59.155+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/defaults/jruby.rb
2015-01-05T20:44:59.155+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/defaults/jruby.rb
2015-01-05T20:44:59.155+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/defaults/jruby.rb
2015-01-05T20:44:59.155+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/defaults/jruby.rb
2015-01-05T20:44:59.155+01:00: LoadService: trying builtinLib: rubygems/config_f
ile.rb
2015-01-05T20:44:59.155+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/config_file.rb
2015-01-05T20:44:59.155+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/config_file.rb
2015-01-05T20:44:59.171+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/config_file.rb
2015-01-05T20:44:59.171+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/config_file.rb
2015-01-05T20:44:59.187+01:00: LoadService: trying builtinLib: rubygems/user_int
eraction.rb
2015-01-05T20:44:59.187+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/rubygems/user_interaction.rb
2015-01-05T20:44:59.187+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/rubygems/user_interaction.rb
2015-01-05T20:44:59.187+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/rubygems/user_interaction.rb
2015-01-05T20:44:59.187+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/rubygems/user_interaction.rb
2015-01-05T20:44:59.218+01:00: LoadService: trying builtinLib: io/console.rb
2015-01-05T20:44:59.218+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/2.2/site_ruby/io/console.rb
2015-01-05T20:44:59.218+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/shared/io/console.rb
2015-01-05T20:44:59.218+01:00: LoadService: trying fileResource: C:/moje/projekt
y/jruby alpha/jruby/lib/ruby/stdlib/io/console.rb
2015-01-05T20:44:59.218+01:00: LoadService: found fileResource: C:/moje/projekty
/jruby alpha/jruby/lib/ruby/stdlib/io/console.rb
TypeError: can't convert nil into String
getStackTrace at java/lang/Thread.java:1552
getBacktraceData at org/jruby/runtime/backtrace/TraceType.java:175
getBacktrace at org/jruby/runtime/backtrace/TraceType.java:39
prepareBacktrace at org/jruby/RubyException.java:227
preRaise at org/jruby/exceptions/RaiseException.java:215
preRaise at org/jruby/exceptions/RaiseException.java:194
<init> at org/jruby/exceptions/RaiseException.java:110
newRaiseException at org/jruby/Ruby.java:3974
newTypeError at org/jruby/Ruby.java:3741
handleUncoercibleObject at org/jruby/util/TypeConverter.java:260
convertToType at org/jruby/util/TypeConverter.java:60
convertToType at org/jruby/util/TypeConverter.java:90
convertToString at org/jruby/RubyBasicObject.java:750
get_path at org/jruby/RubyFile.java:1292
reopen at org/jruby/RubyIO.java:568
call at org/jruby/internal/runtime/methods/JavaMethod.jav
a:679
call at org/jruby/internal/runtime/methods/DynamicMethod.
java:206
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:3
17
call at org/jruby/runtime/callsite/CachingCallSite.java:1
67
processCall at org/jruby/ir/interpreter/Interpreter.java:311
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
loadScript at org/jruby/runtime/load/LibrarySearcher.java:249
load at org/jruby/runtime/load/LibrarySearcher.java:237
load at org/jruby/runtime/load/LibrarySearcher.java:35
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:885
smartLoadInternal at org/jruby/runtime/load/LoadService.java:534
requireCommon at org/jruby/runtime/load/LoadService.java:418
require at org/jruby/runtime/load/LoadService.java:382
requireCommon at org/jruby/RubyKernel.java:960
require19 at org/jruby/RubyKernel.java:954
call at org/jruby/internal/runtime/methods/JavaMethod.jav
a:553
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:2
77
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:8
3
call at org/jruby/runtime/callsite/CachingCallSite.java:8
7
interpret at org/jruby/ir/instructions/CallBase.java:449
processCall at org/jruby/ir/interpreter/Interpreter.java:319
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
loadScript at org/jruby/runtime/load/LibrarySearcher.java:249
load at org/jruby/runtime/load/LibrarySearcher.java:237
load at org/jruby/runtime/load/LibrarySearcher.java:35
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:885
smartLoadInternal at org/jruby/runtime/load/LoadService.java:534
requireCommon at org/jruby/runtime/load/LoadService.java:418
require at org/jruby/runtime/load/LoadService.java:382
requireCommon at org/jruby/RubyKernel.java:960
require19 at org/jruby/RubyKernel.java:954
call at org/jruby/internal/runtime/methods/JavaMethod.jav
a:364
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:3
17
call at org/jruby/runtime/callsite/CachingCallSite.java:1
67
processCall at org/jruby/ir/interpreter/Interpreter.java:311
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
loadScript at org/jruby/runtime/load/LibrarySearcher.java:249
load at org/jruby/runtime/load/LibrarySearcher.java:237
load at org/jruby/runtime/load/LibrarySearcher.java:35
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:885
smartLoadInternal at org/jruby/runtime/load/LoadService.java:534
requireCommon at org/jruby/runtime/load/LoadService.java:418
require at org/jruby/runtime/load/LoadService.java:382
requireCommon at org/jruby/RubyKernel.java:960
require19 at org/jruby/RubyKernel.java:954
call at org/jruby/internal/runtime/methods/JavaMethod.jav
a:364
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:3
17
call at org/jruby/runtime/callsite/CachingCallSite.java:1
67
processCall at org/jruby/ir/interpreter/Interpreter.java:311
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
loadScript at org/jruby/runtime/load/LibrarySearcher.java:249
load at org/jruby/runtime/load/LibrarySearcher.java:237
load at org/jruby/runtime/load/LibrarySearcher.java:35
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:885
smartLoadInternal at org/jruby/runtime/load/LoadService.java:534
requireCommon at org/jruby/runtime/load/LoadService.java:418
require at org/jruby/runtime/load/LoadService.java:382
requireCommon at org/jruby/RubyKernel.java:960
require19 at org/jruby/RubyKernel.java:954
call at org/jruby/internal/runtime/methods/JavaMethod.jav
a:553
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:2
77
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:8
3
call at org/jruby/runtime/callsite/CachingCallSite.java:8
7
interpret at org/jruby/ir/instructions/CallBase.java:449
processCall at org/jruby/ir/interpreter/Interpreter.java:319
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
loadScript at org/jruby/runtime/load/LibrarySearcher.java:249
load at org/jruby/runtime/load/LibrarySearcher.java:237
load at org/jruby/runtime/load/LibrarySearcher.java:35
tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:885
smartLoadInternal at org/jruby/runtime/load/LoadService.java:534
requireCommon at org/jruby/runtime/load/LoadService.java:418
require at org/jruby/runtime/load/LoadService.java:382
requireCommon at org/jruby/RubyKernel.java:960
require19 at org/jruby/RubyKernel.java:954
call at org/jruby/internal/runtime/methods/JavaMethod.jav
a:553
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:2
77
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:8
3
call at org/jruby/runtime/callsite/CachingCallSite.java:8
7
interpret at org/jruby/ir/instructions/CallBase.java:449
processCall at org/jruby/ir/interpreter/Interpreter.java:319
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
load at org/jruby/runtime/load/ExternalScript.java:66
load at org/jruby/runtime/load/LoadService.java:326
loadCommon at org/jruby/RubyKernel.java:977
load19 at org/jruby/RubyKernel.java:969
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:2
77
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:8
3
call at org/jruby/runtime/callsite/CachingCallSite.java:8
7
interpret at org/jruby/ir/instructions/CallBase.java:449
processCall at org/jruby/ir/interpreter/Interpreter.java:319
interpret at org/jruby/ir/interpreter/Interpreter.java:541
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:607
execute at org/jruby/ir/interpreter/Interpreter.java:100
execute at org/jruby/ir/interpreter/Interpreter.java:28
execute at org/jruby/ir/IRTranslator.java:39
runInterpreter at org/jruby/Ruby.java:838
loadFile at org/jruby/Ruby.java:2863
load at org/jruby/runtime/load/ExternalScript.java:66
loadFromClassLoader at org/jruby/runtime/load/LoadService.java:352
initRubyKernel at org/jruby/Ruby.java:1753
init at org/jruby/Ruby.java:1262
newInstance at org/jruby/Ruby.java:318
internalRun at org/jruby/Main.java:268
run at org/jruby/Main.java:227
main at org/jruby/Main.java:199