Attempting to generate a railroad diagram of the following regex:
filename: regex_railroads.puml
@startregex
^[+\\-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d+)?(?:(?<=\\d)(?:[eE][+\\-]?\\d+))?$
@endregex
Produces the following PlantUML error:
Error found in diagram regex_railroads
Error java.util.NoSuchElementException
java.util.NoSuchElementException
at java.base/java.util.ArrayDeque.removeFirst(ArrayDeque.java:362)
at net.sourceforge.plantuml.regexdiagram.PSystemRegex.concatenation(PSystemRegex.java:287)
at net.sourceforge.plantuml.regexdiagram.PSystemRegex.addBlocLines(PSystemRegex.java:208)
at net.sourceforge.plantuml.regexdiagram.CommandRegexfSingleLine.executeArg(CommandRegexfSingleLine.java:106)
at net.sourceforge.plantuml.regexdiagram.CommandRegexfSingleLine.executeArg(CommandRegexfSingleLine.java:87)
at net.sourceforge.plantuml.command.SingleLineCommand2.execute(SingleLineCommand2.java:186)
at net.sourceforge.plantuml.command.ProtectedCommand.execute(ProtectedCommand.java:93)
at net.sourceforge.plantuml.AbstractPSystem.executeCommand(AbstractPSystem.java:221)
at net.sourceforge.plantuml.command.PSystemCommandFactory.executeFewLines(PSystemCommandFactory.java:161)
at net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java:144)
at net.sourceforge.plantuml.PSystemBuilder.createPSystem(PSystemBuilder.java:195)
at net.sourceforge.plantuml.BlockUml.getDiagram(BlockUml.java:222)
at net.sourceforge.plantuml.SourceStringReader.outputImage(SourceStringReader.java:196)
at net.sourceforge.plantuml.Pipe.generateDiagram(Pipe.java:141)
at net.sourceforge.plantuml.Pipe.managePipe(Pipe.java:132)
at net.sourceforge.plantuml.Run.managePipe(Run.java:393)
at net.sourceforge.plantuml.Run.main(Run.java:220)
You should send a mail to plantuml@gmail.com or post to https://plantuml.com/qa with this log (V1.2023.12)
ERROR
1
You should send a mail to plantuml@gmail.com or post to https://plantuml.com/qa with this log (V1.2023.12) java.util.NoSuchElementException
Some diagram description contains errors