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

Problems with asciidoctorj 1.5.7 #542

Closed
ancho opened this Issue Oct 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ancho
Member

ancho commented Oct 10, 2018

With the latest upgrade to asciidoctorj 1.5.7 the jbake.org site does not bake properly.
See jbake-org/jbake.org#106

It randomly fails to render either jbake.org/content/docs/2.4.0/configuration.adoc or jbake.org/content/docs/2.4.0/content-files.adoc.

(Other Versions of that file where rendered successful for docs/2.2.1 for example)

It's not a problem of the file content. We use String render(String content, Options options); to render the contents.
See

context.setBody(asciidoctor.render(context.getBody(), options));

The content in context.getBody() is not null at the point the Exception gets thrown.
And it contains valid asciidoc text.

@ancho ancho added the bug label Oct 10, 2018

@ancho

This comment has been minimized.

Member

ancho commented Oct 10, 2018

With asciidoctorj version 1.6.0-alpha.7 the problem is gone. That version uses a newer jruby version.

ancho added a commit to ancho/jbake that referenced this issue Oct 10, 2018

@ancho ancho added this to the v2.6.3 milestone Oct 11, 2018

ancho added a commit to ancho/jbake that referenced this issue Oct 12, 2018

temporary jruby dependency update 9.1.16.0 -> 9.1.17.0
added smoketest against jbake website
switch jgit versions based on current jdk. update to gradle 4.10.2
skip ProjectWebsiteTest for java 7

fixes jbake-org#542
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment