IllegalArgumentException when generating Ascii Art for a State diagram

0 votes
asked Jun 8, 2016 in Bug by Meo (920 points)
version 8042
 
java.lang.IllegalArgumentException
at net.sourceforge.plantuml.posimo.Path.<init>(Path.java:50)
at net.sourceforge.plantuml.cucadiagram.dot.CucaDiagramTxtMaker.<init>(CucaDiagramTxtMaker.java:101)
at net.sourceforge.plantuml.cucadiagram.CucaDiagram.createFilesTxt(CucaDiagram.java:354)
at net.sourceforge.plantuml.cucadiagram.CucaDiagram.exportDiagramInternal(CucaDiagram.java:305)
at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:227)
at net.sourceforge.plantuml.SourceStringReader.generateImage(SourceStringReader.java:113)
at org.plantuml.idea.rendering.PlantUmlRenderer.generateImage(PlantUmlRenderer.java:337)
at org.plantuml.idea.rendering.PlantUmlRenderer.doRender(PlantUmlRenderer.java:253)
at org.plantuml.idea.rendering.PlantUmlRenderer.render(PlantUmlRenderer.java:99)
 
 
FileType = ATXT and UTXT
 
@startuml
    scale 350 width
    [*] --> NotShooting
    
    state NotShooting {
      [*] --> Idle
      Idle --> Configuring : EvConfig
      Configuring --> Idle : EvConfig
    }
    
    state Configuring {
      [*] --> NewValueSelection
      NewValueSelection --> NewValuePreview : EvNewValue
      NewValuePreview --> NewValueSelection : EvNewValueRejected
      NewValuePreview --> NewValueSelection : EvNewValueSaved
    
      state NewValuePreview {
         State1 -> State2
      }
    
    }
    @enduml
 
 

1 Answer

0 votes
answered Feb 19 by Anthony-Gaudino (7,720 points)
ASCII currently doesn't work with state diagram.
...