You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.NullPointerException
at org.asciidoctor.jruby.internal.IOUtils.writeFull (IOUtils.java:28)
at org.asciidoctor.jruby.internal.JRubyAsciidoctor.convert (JRubyAsciidoctor.java:353)
at org.asciidoctor.jruby.internal.JRubyAsciidoctor.convert (JRubyAsciidoctor.java:358)
at org.asciidoctor.Asciidoctor$convert$1.call (Unknown Source)
Which may be an AsciiDoctor issue, with conflicting instructions of the output; this also tells me that even if I gave it a dummy writer, it would have failed with the same type error.
Finally, this is the only way this agreed to work:
In my application, I'm converting docs based on streams, and not necessarily files.
Attempt to use a convert function with reader/writer API:
gets me this:
I guess, the binary output of PDF itn's really suitable for writing into a
Writer
anyway, which is fair. So I've tried this:This got me:
Which may be an AsciiDoctor issue, with conflicting instructions of the output; this also tells me that even if I gave it a dummy writer, it would have failed with the same type error.
Finally, this is the only way this agreed to work:
But that requires me to have a file, which I may have to create for just a purpose of running the converter.
I understand this may really be rooted in AsciiDoctorJ code, and not in this extension, but I was wondering if something can be done about it.
The text was updated successfully, but these errors were encountered: