Cannot add "notes" to binary or analog signals in timing diagrams

0 votes
asked Aug 4, 2022 in Bug by jk

Hello, I found the following error log when attempting to add a note to an analog signal and binary signal.

Code:

@startuml

binary "Vcore Enable" as EN1

analog "Vcore" as VC

@EN1

0 is high

5 is low

note bottom of EN1: Vcore enable is active low

@VC

0 is 0

5 is 0

6 is 1

@enduml

Log for issue:

Error found in diagram notes_test
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:84)
at net.sourceforge.plantuml.timingdiagram.command.CommandNote.executeArg(CommandNote.java:51)
at net.sourceforge.plantuml.command.SingleLineCommand2.execute(SingleLineCommand2.java:152)
at net.sourceforge.plantuml.command.ProtectedCommand.execute(ProtectedCommand.java:54)
at net.sourceforge.plantuml.AbstractPSystem.executeCommand(AbstractPSystem.java:157)
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:136)
at net.sourceforge.plantuml.BlockUml.getDiagram(BlockUml.java:181)
at net.sourceforge.plantuml.SourceStringReader.outputImage(SourceStringReader.java:168)
at net.sourceforge.plantuml.Pipe.generateDiagram(Pipe.java:100)
at net.sourceforge.plantuml.Pipe.managePipe(Pipe.java:92)
at net.sourceforge.plantuml.Run.managePipe(Run.java:353)
at net.sourceforge.plantuml.Run.main(Run.java:180)
You should send a mail to plantuml@gmail.com or post to http://plantuml.com/qa with this log (V1.2022.5)
ERROR
8
You should send a mail to plantuml@gmail.com or post to http://plantuml.com/qa with this log (V1.2022.5) java.lang.UnsupportedOperationException
Some diagram description contains errors

commented Aug 5, 2022 by The-Lu (64,760 points)

Hello J., and all,

FYI see restriction:

You have a first [on 2017] and incomplete implementation. [...]

on:

Then currently note is only available for `concise` timing diagram.

Regards.

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.
...