Java trigger the error, if write to notes together

0 votes
asked 5 days ago in Bug by Vadim

simple code:

@startuml

f -> f:
note right
text
end note

note left
text
end note
@enduml

error:
An error has occurred : java.lang.ClassCastException: class net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelfNoteRight cannot be cast to class net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelf (net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelfNoteRight and net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelf are in unnamed module of loader org.plantuml.idea.external.ParentLastURLClassLoader$ChildURLClassLoader @577b9750)Therese, c'est une catastrophe PlantUML (1.2026.8) has crashed. Diagram size: 199 lines / 6568 characters. Java Runtime: OpenJDK Runtime EnvironmentJVM: OpenJDK 64-Bit Server VMDefault Encoding: UTF-8Language: ukCountry: UA PLANTUML_LIMIT_SIZE: 8192 You should send this diagram and this image toplantuml@gmail.comorpost tohttps://plantuml.com/qato solve this issue.You can try to turn around this issue by simplifing your diagram. java.lang.ClassCastException: class net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelfNoteRight cannot be cast to class net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelf (net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelfNoteRight and net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTileSelf are in unnamed module of loader org.plantuml.idea.external.ParentLastURLClassLoader$ChildURLClassLoader @577b9750)net.sourceforge.plantuml.sequencediagram.teoz.TileBuilder.buildOne(TileBuilder.java:179)net.sourceforge.plantuml.sequencediagram.teoz.GroupingTile.<init>(GroupingTile.java:241)net.sourceforge.plantuml.sequencediagram.teoz.TileBuilder.buildOne(TileBuilder.java:237)net.sourceforge.plantuml.sequencediagram.teoz.TileBuilder.buildSeveral(TileBuilder.java:143)...

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