-
Notifications
You must be signed in to change notification settings - Fork 172
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
exception containing itself as nested exception, causing maven endless loop #1231
Comments
The asciidoctorj/asciidoctorj-core/src/main/java/org/asciidoctor/jruby/internal/JRubyAsciidoctor.java Line 330 in 088e373
asciidoctorj/asciidoctorj-core/src/main/java/org/asciidoctor/jruby/internal/JRubyAsciidoctor.java Line 412 in 088e373
Can you provide a reproducer or the repo that's causing the issue? That way we can look further and see what flow inside JRuby is causing it. |
That's weird. Also looking at this old question on SO it seems like this is not uncommon: We can of cause argue whether it's a bad design or not, but I would say that if this is common in many libraries Maven should be able to handle that. |
Not weird, I had to research too because I had the same idea 😄 It's normal but Seeing the stacktrace from the JIRA it comes from |
Just FTR Maven 3.9.4 (coming soon) have a fix for this issue, while we still think this is "not our bad". Also reported to JRuby jruby/jruby#7861 |
We are aware, I saw the posts, but I think we can do better than cross-posting. I am personally working on assumptions, not even the versions for asciidoctor-maven-plugin or AsciidoctorJ have been provided, and I haven't been able to cause a similar error on the latest releases. |
@abelsromero Unfortunately this is in a company project, and it hasn't even build a build on a commit, but rather on uncommitted changes. Since I've only found that looping process several hours later, and investigated it via heap dump, I can't even say what had been done when it was started. I do know that I had played around with enabling hyphenation, and that I had caused an error message by using a non supported language code via |
Thanks, at least that's something, we know now it's PDF with a theme. We found a suspicious method in jRuby. It's a matter of making a path between those 2 points. |
I've just raised an issue in Maven: https://issues.apache.org/jira/browse/MNG-7846
It's caused by an exception in JRuby when using the asciidoctor-maven-plugin.
Can one of the developers here say whether that exception is created somewhere in the code of AsciidoctorJ, or is this something to be reported for JRuby (or somewhere completely different even)? I'm trying to get the actual root cause fixed, the exception containing itself. If I'm wrong here, feel free to close.
The text was updated successfully, but these errors were encountered: