I have a file with the following content:
@startuml
version
@enduml
and when I give the following command:
java -Djava.awt.headless=true -jar "D:/Programs/plantuml\plantuml.jar" -ttxt aa.pu
the result is a Java crash:
Exception in thread "main" java.lang.UnsupportedOperationException: ATXT
at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:390)
at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageInternal(ImageBuilder.java:236)
at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:177)
at net.sourceforge.plantuml.version.PSystemVersion.exportDiagramNow(PSystemVersion.java:161)
at net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:135)
at net.sourceforge.plantuml.PSystemUtils.exportDiagramsDefault(PSystemUtils.java:157)
at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:100)
at net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:153)
at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:450)
at net.sourceforge.plantuml.Run.processArgs(Run.java:361)
at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:331)
at net.sourceforge.plantuml.Run.main(Run.java:179)
This also happens with the utxt output.
This also happens with the following standard commands:
author
checkversion
licence
license
stdlib
testdot
This happens with the latest current beta version 1.2018.08beta9 I have.