Based on the question https://forum.plantuml.net/13557/support-for-the-different-%40start-commands?show=13557I did a bit a larger test.
I used on the plantuml repository the command:
git log --all --graph --decorate=short --abbrev-commit --oneline
redirected it tho a file and placed the command @startgit at the beginning of the file and @endgit at the end.
I ran plantuml on it with version: PlantUML version 1.2021.9beta3 (Unknown compile time)
and got a crash:
this=(7,34)
java.lang.UnsupportedOperationException: (7,34)
at net.sourceforge.plantuml.gitlog.CursorPosition.getDownFromInternal(CursorPosition.java:211)
at net.sourceforge.plantuml.gitlog.CursorPosition.getDownFromHere(CursorPosition.java:114)
at net.sourceforge.plantuml.gitlog.Commit.getAncestors(Commit.java:112)
at net.sourceforge.plantuml.gitlog.GNodeBuilder.<init>(GNodeBuilder.java:61)
at net.sourceforge.plantuml.gitlog.GitDiagram.<init>(GitDiagram.java:62)
at net.sourceforge.plantuml.gitlog.GitDiagramFactory.createSystem(GitDiagramFactory.java:66)
at net.sourceforge.plantuml.PSystemBuilder.createPSystem(PSystemBuilder.java:133)
at net.sourceforge.plantuml.BlockUml.getDiagram(BlockUml.java:163)
at net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:151)
at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:520)
at net.sourceforge.plantuml.Run.processArgs(Run.java:403)
at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:370)
at net.sourceforge.plantuml.Run.main(Run.java:198)
The total file might be a bit large, but I don't think that is the problem her (just a guess).
The big question is why does it go wrong?