PlantUML txt target not working

0 votes
asked Nov 14, 2014 in Bug by jacaru (120 points)

Using JDK8 (OSX)

java -jar plantuml.jar -ttxt -v diagram.txt

 

(0.000 - 0.000 - 0.000(0) - 123 Mo) 120 Mo - PlantUML Version 8009

(0.070 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - GraphicsEnvironment.isHeadless() false

(0.075 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - Setting current dir: .

(0.075 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - Setting current dir: ...

(0.076 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - Using default charset

(0.079 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - Setting current dir: ...

(0.085 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - Setting current dir: ...

(0.085 - 0.000 - 0.000(0) - 123 Mo) 119 Mo - Reading file: diagram.txt

(0.268 - 0.000 - 0.000(0) - 123 Mo) 104 Mo - Creating file: ...

(0.276 - 0.000 - 0.000(0) - 123 Mo) 104 Mo - Number of image(s): 1

 

cat diagram.atxt

 

java.lang.IllegalArgumentException

at net.sourceforge.plantuml.posimo.Path.<init>(Unknown Source)

at net.sourceforge.plantuml.cucadiagram.dot.CucaDiagramTxtMaker.<init>(Unknown Source)

at net.sourceforge.plantuml.cucadiagram.CucaDiagram.createFilesTxt(Unknown Source)

at net.sourceforge.plantuml.cucadiagram.CucaDiagram.exportDiagramInternal(Unknown Source)

at net.sourceforge.plantuml.UmlDiagram.exportDiagram(Unknown Source)

at net.sourceforge.plantuml.PSystemUtils.exportDiagramsCuca(Unknown Source)

at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(Unknown Source)

at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(Unknown Source)

at net.sourceforge.plantuml.Run.manageFileInternal(Unknown Source)

at net.sourceforge.plantuml.Run.processArgs(Unknown Source)

at net.sourceforge.plantuml.Run.manageAllFiles(Unknown Source)

at net.sourceforge.plantuml.Run.main(Unknown Source)

 

 

1 Answer

0 votes
answered Nov 14, 2014 by plantuml (298,440 points)

Hello,

Thanks for the report.

However, export in TXT is currently only working for Sequence Diagram.

It looks like your diagram.txt file does not containt such a diagram. Is it the case ?

Thanks,

commented Nov 15, 2014 by anonymous
That's right, thought it had overall support. Thanks for clarification.
...