When I try to render some puml diagrams, using kroki, I get this error
puml file:
https://gitlab.com/datahandwerk/dhw-antora-sqldb/-/blob/main/docs/modules/sqldb/partials/puml/entity_30_0_objectref/docs.usp_AntoraExport_ObjectPartialProperties.puml
An error has occured : java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 4It makes the truth even more incomprehensible because everything is newDiagram size: 1642 lines / 89406 characters.PlantUML (1.2021.8) cannot parse result from dot/GraphViz.This version of PlantUML is 91 days old, so you shouldconsider upgrading from
https://plantuml.com/downloadGraphViz version used : version 2.44.0 ()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: USPLANTUML_LIMIT_SIZE: 4096This may be caused by :- a bug in PlantUML- a problem in GraphVizYou should send this diagram and this image toplantuml@gmail.comorpost tohttps://plantuml.com/qato solve this issue.You can try to turn arround this issue by simplifing your diagram.java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 4java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)java.base/java.util.Objects.checkIndex(Unknown Source)java.base/java.util.ArrayList.get(Unknown Source)net.sourceforge.plantuml.ugraphic.UPolygon.checkMiddleContactForSpecificTriangle(UPolygon.java:76)net.sourceforge.plantuml.svek.SvekLine.getExtremity(SvekLine.java:497)net.sourceforge.plantuml.svek.SvekLine.solveLine(SvekLine.java:556)net.sourceforge.plantuml.svek.DotStringFactory.solve(DotStringFactory.java:446)net.sourceforge.plantuml.svek.GeneralImageBuilder.buildImage(GeneralImageBuilder.java:475)net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek.createFileInternal(CucaDiagramFileMakerSvek.java:102)net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek.createFile(CucaDiagramFileMakerSvek.java:67)net.sourceforge.plantuml.cucadiagram.CucaDiagram.exportDiagramInternal(CucaDiagram.java:639)net.sourceforge.plantuml.classdiagram.ClassDiagram.exportDiagramInternal(ClassDiagram.java:188)net.sourceforge.plantuml.UmlDiagram.exportDiagramNow(UmlDiagram.java:144)net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:157)io.kroki.server.service.Plantuml.convert(Plantuml.java:274)io.kroki.server.service.Plantuml.lambda$convert$5(Plantuml.java:235)io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:160)io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:96)io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:158)io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)java.base/java.lang.Thread.run(Unknown Source)