java.lang.IllegalStateException at

0 votes
asked Jun 22, 2021 in Bug by stesin (120 points)
Error java.lang.IllegalStateException
at net.sourceforge.plantuml.descdiagram.command.CommandCreateElementMultilines.executeNow(
at net.sourceforge.plantuml.descdiagram.command.CommandCreateElementMultilines.executeNow(
at net.sourceforge.plantuml.command.CommandMultilines2.execute(
at net.sourceforge.plantuml.command.ProtectedCommand.execute(
at net.sourceforge.plantuml.AbstractPSystem.executeCommand(
at net.sourceforge.plantuml.command.PSystemCommandFactory.executeFewLines(
at net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(
at net.sourceforge.plantuml.PSystemBuilder.createPSystem(
at net.sourceforge.plantuml.BlockUml.getDiagram(
at net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(
at net.sourceforge.plantuml.DirWatcher2$
at net.sourceforge.plantuml.DirWatcher2$
at java.base/
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.base/java.util.concurrent.ThreadPoolExecutor$
at java.base/
You should send a mail to or post to with this log (V1.2021.7)
commented Jun 22, 2021 by The-Lu (37,800 points)

Hello S.,

  • Could you post (for PlantUML team) the part of the input code that generates this error?


commented Jun 26, 2021 by stesin (120 points)
Hi! Unfortunately I can't catch the exact byte of code which causes these exceptions. While coding a (fairly complex) deployment diagram, which uses also sprites from stdlib, occasionally I am making errors. Usually I get the informative error message like "syntax error", but sometimes I don't (just green text on the black background). I am correcting my errors, and finally I get my diagram done. But afterwards when I look into the console terminal window from which I launched my plantuml -gui -tpng command (without detaching it from the terminal), I see a few occurrences of


at net.sourceforge.plantuml.descdiagram.command.CommandCreateElementMultilines.executeNow(

Actually this is harmless, plantuml don't crash. So the exception is just handled in a correct, but uninformative way.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.