Created
May 22, 2015 13:56
-
-
Save headius/7c7c35f6b1f0df68d717 to your computer and use it in GitHub Desktop.
JRuby's "full" backtrace style (investigating a bug)
This file contains 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
[] ~/projects/jruby $ jruby -e '[BasicObject.new].flatten!' | |
NoMethodError: undefined method `respond_to?' for #<BasicObject:0x73846619> | |
flatten! at org/jruby/RubyArray.java:2844 | |
<top> at -e:1 | |
[] ~/projects/jruby $ jruby -Xbacktrace.style=full -e '[BasicObject.new].flatten!' | |
NoMethodError: undefined method `respond_to?' for #<BasicObject:0x73846619> | |
getStackTrace at java/lang/Thread.java:1552 | |
getBacktraceData at org/jruby/runtime/backtrace/TraceType.java:183 | |
getBacktrace at org/jruby/runtime/backtrace/TraceType.java:47 | |
prepareBacktrace at org/jruby/RubyException.java:223 | |
preRaise at org/jruby/exceptions/RaiseException.java:215 | |
preRaise at org/jruby/exceptions/RaiseException.java:194 | |
<init> at org/jruby/exceptions/RaiseException.java:139 | |
<init> at org/jruby/exceptions/RaiseException.java:72 | |
methodMissing at org/jruby/RubyKernel.java:265 | |
call at org/jruby/RubyKernel.java:115 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:209 | |
callMethodMissing at org/jruby/runtime/Helpers.java:178 | |
finvoke at org/jruby/RubyClass.java:733 | |
invoke at org/jruby/runtime/Helpers.java:416 | |
callMethod at org/jruby/RubyBasicObject.java:372 | |
respondsTo at org/jruby/RubyBasicObject.java:623 | |
convertToType at org/jruby/util/TypeConverter.java:67 | |
convertToTypeWithCheck at org/jruby/util/TypeConverter.java:183 | |
checkArrayType at org/jruby/RubyBasicObject.java:817 | |
flatten at org/jruby/RubyArray.java:2800 | |
flatten_bang at org/jruby/RubyArray.java:2829 | |
flatten_bang19 at org/jruby/RubyArray.java:2844 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
<top> at -e:1 | |
invokeWithArguments at java/lang/invoke/MethodHandle.java:625 | |
load at org/jruby/ir/Compiler.java:111 | |
runScript at org/jruby/Ruby.java:833 | |
runScript at org/jruby/Ruby.java:822 | |
runNormally at org/jruby/Ruby.java:752 | |
runFromMain at org/jruby/Ruby.java:574 | |
doRunFromMain at org/jruby/Main.java:401 | |
internalRun at org/jruby/Main.java:296 | |
run at org/jruby/Main.java:225 | |
main at org/jruby/Main.java:197 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment