-
Notifications
You must be signed in to change notification settings - Fork 6
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
NPE: graphvizVersion is null #56
Comments
Please provide a repository to reproduce. |
Seriously for a NullPointerException where I provided the full stacktrace. So here is as project that gives me the error as ZIP file: Next I expect is that you are telling me that it works on your end and will close the issue. ;) Maybe my graphviz installation is not sane but some diagrams can be generated and others not... |
Reinstalled Graphviz according to documentation and now getting this error in the image:
If I open this in IntelliJ it is just working. The maven plugin approach is however, very fragile. |
Your internet provider probably gets money for the service or non-service they provide. If anybody else wants to help, go ahead. |
Thanks for testing. I already assumed that something is wrong with the graphviz installation. Sorry, if my response sounded distracting. Some more constructive thoughts:
|
Hello @hohwille I included following line:
...at the begining of my diagram's code, right below You may give it a try with your diagrams. |
I have tried
asciidoctorj-diagram
with yourasciidoctor-diagram-example
and that is working.However, now that I used it in a real world project, it fails with very strange errors:
I could render the stacktrace as SVG now and with some extra effort extract the error message as plain text:
Also when I change the backend from
html
topdf
then the maven build fails with this error:I assume that this one is not related to
asciidoctorj-diagram
.If you want I can file it as a separate issue to asciidoctorj or asciidoctor-maven-plugin.
AsciiDoc and PlantUML are really awesome. However, if the toolchain is not working it kind of falls into pieces.
When a maven plugin calls Ruby in Java that then executes an external programm (
dot
aka graphviz) it gets hard for me to trace down the error further. If there is anything more I can do to provide more debugging information, please let me know.It would be awesome if you have any hints, workarounds or fixes for me.
Thanks in advance for making asciidoctor and the diagram extension. I am also an active OSS developer on github and very much appreciate your work!
The text was updated successfully, but these errors were encountered: