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
StringIndexOutOfBoundsException in LogRecordHelper #401
Comments
I suspect this and #402 are related. Can you try the new 2.0.0 versions. Note that extensions may require changes (see the official migration guide). Can you try using the latest versions: |
I've tried the versions like above. But now I've a Ruby error:
It seems this is a problem with the extension too? |
This is weird, Asciidoctorj 2.0.0 comes with asciidoctor gem 2.0.8. Something may be polluting the classpath. If this is different from #402, can I ask also for an example or at least the pull pom? |
Same error here. It happens multiple times during the build, but does not stop it. Versions:
mai 20, 2019 2:15:08 PM org.asciidoctor.jruby.internal.JRubyAsciidoctor log
|
Can you share the document you are converting? It will help a lot. |
Here is the doc in attachment. Thx! |
I am unable to reproduce with a custom maven-to-pdf project and I am really puzzled here. asciidoctor-maven-plugin/src/main/java/org/asciidoctor/maven/log/LogRecordHelper.java Line 44 in 880938d
This is just guessing, but can you answer this plis:
If this doesn't bring anything, I can publish a pre-release with some good old extra logs to see what's going on. Would you be wiling to run it and come back with the logs? |
Ok with the pre-release but not sure I'd know how to use it. I'd give it my best effort. |
First, thanks for your time and sorry in advance, I wrote a pretty secure code but it may be we need to go through a couple iterations. To run the pre-release follow these steps:
<repositories>
<repository>
<id>bintray-asciidoctor-maven-asciidoctor-maven-plugin</id>
<name>asciidoctor-maven-asciidoctor-maven-plugin</name>
<url>https://dl.bintray.com/abelsromero/maven/</url>
</repository>
</repositories>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.0.0.RC.logging.1</version>
Once is done, send me the output from the console. Note that file paths willl appear in the logs, so if there's anything sensible or you just don't want to show here, ping me on twitter for a private channel |
Log handling have been reworked and tested in last 2.0.0 version. If the issue persist, please re-open. |
This error is shown after update from:
The text was updated successfully, but these errors were encountered: