Timing diagram note error

0 votes
asked Jul 13, 2023 in Bug by anonymous

diagram: (file name test_timing.puml)

@startuml
mode compact
concise "A" as AA
binary "B" as BB
binary "C" as CC


@70
AA is AAAA
BB is 0
CC is 1
note bottom of CC: When x = 0, AA is working

@enduml

---

command line:

java -jar .\plantuml-1.2023.9.jar -tsvg .\test_timing.puml

---

Error log:

Error java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
        at net.sourceforge.plantuml.timingdiagram.PlayerBinary.addNote(PlayerBinary.java:101)
        at net.sourceforge.plantuml.timingdiagram.command.CommandNote.executeArg(CommandNote.java:85)
        at net.sourceforge.plantuml.timingdiagram.command.CommandNote.executeArg(CommandNote.java:51)
        at net.sourceforge.plantuml.command.SingleLineCommand2.execute(SingleLineCommand2.java:150)
        at net.sourceforge.plantuml.command.ProtectedCommand.execute(ProtectedCommand.java:57)
        at net.sourceforge.plantuml.AbstractPSystem.executeCommand(AbstractPSystem.java:177)
        at net.sourceforge.plantuml.command.PSystemCommandFactory.executeFewLines(PSystemCommandFactory.java:125)
        at net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java:108)
        at net.sourceforge.plantuml.PSystemBuilder.createPSystem(PSystemBuilder.java:146)
        at net.sourceforge.plantuml.BlockUml.getDiagram(BlockUml.java:188)
        at net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:171)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:510)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:404)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:371)
        at net.sourceforge.plantuml.Run.main(Run.java:206)
You should send a mail to plantuml@gmail.com or post to https://plantuml.com/qa with this log (V1.2023.9)
Error line 12 in file: .\test_timing.puml
Some diagram description contains errors

1 Answer

0 votes
answered Jul 13, 2023 by The-Lu (68,800 points)

Hi A., and all,

That is normal, note on binary signal is available only from 1.2023.10betaX, as:

  • Could you update your plantuml.jar?

See ref. here:

Regards,
Th.

...