Problem with txt / utxt (ASCII-art) output for standard commands, also html, xmi and -tscxml

0 votes
asked Jun 14 in Bug by albert (1,990 points)
edited Jun 15 by albert

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.

commented Jun 15 by albert (1,990 points)
edited Jun 15 by albert
Same problem with -thtml, -txmi and -tscxml

Note in this case also the example:
@startuml
Bob -> Alice: hello
@enduml

gives this problem.


Probably also -tpdf (same error message, and with the "Bob/Alice" example another message appears as I have not loaded yet the right libraries for pdf; downloaded required libraries "Bob/Alice "example works, rest not as indicated).
commented Jun 27 by albert (1,990 points)
Any progress regarding this issue ( see also the, probable, duplicate: http://forum.plantuml.net/7829/java-lang-unsupportedoperationexception-utxt)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...