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

Plantuml fails on GitHub runner #1778

Open
HrvojeJuric opened this issue May 15, 2024 · 1 comment
Open

Plantuml fails on GitHub runner #1778

HrvojeJuric opened this issue May 15, 2024 · 1 comment
Labels

Comments

@HrvojeJuric
Copy link

Describe the bug
Using doxygen with plantuml I try to generate plantuml diagrams locally and it works but not when i use the GitHub runner.

To Reproduce
Run doxygen on GitHub runner.

Expected behavior
The graphs are rendered like locally and run smoothly.

Screenshots

image

Desktop (please complete the following information):

  • OS: NixOS
  • Browser: Firefox
  • Version: 125.0.3

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
An error has occured : java.lang.IllegalArgumentExceptionN'ai-je donc tant vecu que pour cette infamie? Diagram size: 203 lines / 4102 characters. PlantUML (1.2024.4) cannot parse result from dot/GraphViz. Please go to https://plantuml.com/graphviz-dot to check your GraphViz version. Java Runtime: OpenJDK Runtime EnvironmentJVM: OpenJDK 64-Bit Server VMDefault Encoding: UTF-8Language: enCountry: null PLANTUML_LIMIT_SIZE: 4096 This may be caused by :- a bug in PlantUML- a problem in GraphViz You should send this diagram and this image toplantuml@gmail.comorpost tohttps://plantuml.com/qato solve this issue.You can try to turn around this issue by simplifing your diagram. java.lang.IllegalArgumentExceptionnet.sourceforge.plantuml.klimt.compress.Slot.(Slot.java:46)net.sourceforge.plantuml.klimt.compress.SlotSet.addSlot(SlotSet.java:69)net.sourceforge.plantuml.klimt.compress.SlotFinder.drawText(SlotFinder.java:131)net.sourceforge.plantuml.klimt.compress.SlotFinder.draw(SlotFinder.java:105)net.sourceforge.plantuml.svek.UGraphicForSnake.draw(UGraphicForSnake.java:129)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:87)net.sourceforge.plantuml.klimt.drawing.AbstractUGraphicHorizontalLine.draw(AbstractUGraphicHorizontalLine.java:77)net.sourceforge.plantuml.klimt.creole.legacy.AtomText.drawU(AtomText.java:150)net.sourceforge.plantuml.klimt.creole.SheetBlock1.drawU(SheetBlock1.java:199)net.sourceforge.plantuml.klimt.creole.SheetBlock2.drawU(SheetBlock2.java:104)net.sourceforge.plantuml.activitydiagram3.ftile.vertical.FtileBox.drawU(FtileBox.java:211)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:74)net.sourceforge.plantuml.activitydiagram3.ftile.FtileAssemblySimple.drawU(FtileAssemblySimple.java:114)net.sourceforge.plantuml.activitydiagram3.ftile.FtileWithConnection.drawU(FtileWithConnection.java:70)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:74)net.sourceforge.plantuml.activitydiagram3.ftile.FtileMargedVertically.drawU(FtileMargedVertically.java:58)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:74)net.sourceforge.plantuml.activitydiagram3.ftile.FtileAssemblySimple.drawU(FtileAssemblySimple.java:113)net.sourceforge.plantuml.activitydiagram3.ftile.FtileWithConnection.drawU(FtileWithConnection.java:70)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:74)net.sourceforge.plantuml.activitydiagram3.ftile.FtileMargedVertically.drawU(FtileMargedVertically.java:58)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:74)net.sourceforge.plantuml.activitydiagram3.ftile.FtileAssemblySimple.drawU(FtileAssemblySimple.java:113)net.sourceforge.plantuml.activitydiagram3.ftile.FtileWithConnection.drawU(FtileWithConnection.java:70)net.sourceforge.plantuml.activitydiagram3.ftile.UGraphicInterceptorUDrawable2.draw(UGraphicInterceptorUDrawable2.java:74)net.sourceforge.plantuml.activitydiagram3.ftile.TextBlockInterceptorUDrawable.drawU(TextBlockInterceptorUDrawable.java:56)net.sourceforge.plantuml.activitydiagram3.ftile.Swimlanes.drawU(Swimlanes.java:241)net.sourceforge.plantuml.klimt.compress.CompressionXorYBuilder.getPiecewiseAffineTransform(CompressionXorYBuilder.java:52)net.sourceforge.plantuml.klimt.compress.CompressionXorYBuilder.build(CompressionXorYBuilder.java:45)net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3.getTextBlock(ActivityDiagram3.java:221)net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3.exportDiagramInternal(ActivityDiagram3.java:205)net.sourceforge.plantuml.UmlDiagram.exportDiagramNow(UmlDiagram.java:138)net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:207)net.sourceforge.plantuml.PSystemUtils.exportDiagramsDefault(PSystemUtils.java:207)net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:96)net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:190)net.sourceforge.plantuml.Run.manageFileInternal(Run.java:510)net.sourceforge.plantuml.Run.processArgs(Run.java:404)net.sourceforge.plantuml.Run.manageAllFiles(Run.java:371)net.sourceforge.plantuml.Run.main(Run.java:206)

Please let me know what further information I can provide. The way im generating documentation is a bit long imo so I'm not exactly sure what part of the generation process would be the most beneficial to solve this.

@arnaudroques
Copy link
Contributor

It this the only diagram failing?
Could you edit your diagram and post here "the shortest diagram that show the issue" ?
Thanks!

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

No branches or pull requests

2 participants