Skip to content
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

Not opening in Structurizr Lite #393

Open
docbobo opened this issue Apr 6, 2023 · 0 comments
Open

Not opening in Structurizr Lite #393

docbobo opened this issue Apr 6, 2023 · 0 comments

Comments

@docbobo
Copy link

docbobo commented Apr 6, 2023

Just tried to generate a few workspace.json either from examples for my own code, but none of that opens in the current version of Structurizr Lite.

My first attempt produces the following error in the Structurizr UI:

Error
Cannot invoke "com.structurizr.documentation.Documentation.getSections()" because the return value of "com.structurizr.Workspace.getDocumentation()" is null

Apparently, Structurizr expects documentation section to be present. I could work around that problem by using RunDSL and manually adding documentation afterwards.

At that point, I get the following error from Strcturizr (in the log):

Warning: syntax ambiguity - badly delimited number '18u' in line 7 of /usr/local/structurizr/.structurizr/graphviz/1/SystemContext.dot splits into two tokens
Warning: syntax ambiguity - badly delimited number '18u' in line 7 of /usr/local/structurizr/.structurizr/graphviz/1/SystemContext.dot splits into two tokens
Error: /usr/local/structurizr/.structurizr/graphviz/1/SystemContext.dot: syntax error in line 7 near ','
java.io.FileNotFoundException: /usr/local/structurizr/.structurizr/graphviz/1/SystemContext.dot.svg (No such file or directory)

Line 7 is the id field of the first software system. I believe that Structurizr (or graphviz) has some issues with the format of the IDs. As it turns out, I tried to implement something like this component yesterday myself - I initially used guids for the IDs and that didn't work either. However, regular numbers did.

I am running Structurizr Lite build 3047 via the official docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant