Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflowError while rendering Java 8's default method #3596

Closed
jinahya opened this issue Jan 12, 2016 · 1 comment
Closed

StackOverflowError while rendering Java 8's default method #3596

jinahya opened this issue Jan 12, 2016 · 1 comment

Comments

@jinahya
Copy link

jinahya commented Jan 12, 2016

Please forgive me if I'm standing on a wrong spot.
I'm using Asciidoctor for rendering an article.
So far so good until I include a code snippet containing default method of Java 8.
I honesty couldn't pinpoint which stack is wrong. (jruby?, asciidoctor?)

Here comes the stacktrace.

Exception in thread "main" java.lang.StackOverflowError
    at org.jruby.RubyString.hashCode(RubyString.java:1273)
    at org.jruby.RubyHash.internalGetEntry(RubyHash.java:550)
    at org.jruby.RubyHash.internalGet(RubyHash.java:544)
    at org.jruby.RubyHash.op_aref(RubyHash.java:1093)
    at org.jruby.RubyHash$INVOKER$i$1$0$op_aref.call(RubyHash$INVOKER$i$1$0$op_aref.gen)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
    at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
    at org.jruby.ast.IfNode.interpret(IfNode.java:118)
    at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
    at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
    at org.jruby.ast.IfNode.interpret(IfNode.java:110)
    at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
    at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
    at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
    at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
    at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
    at org.jruby.ast.MultipleAsgn19Node.interpret(MultipleAsgn19Node.java:104)
    at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
@jinahya
Copy link
Author

jinahya commented Jan 12, 2016

Sorry, it seems it was my fault. I'll reopen this issue if if occur again.

@jinahya jinahya closed this as completed Jan 12, 2016
@kares kares added this to the Invalid or Duplicate milestone Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants