Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

@startUML capitalization causes crash

0 votes

@startuml

Version

@enduml

works OK... but

@startUML

Version

@enduml

causes the following unhandled exception. the only change is capitlization of startuml.

 

This was tested with word macro v0.30 and PlantUML.jar version 8028  (both latest)

 

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Exception in thread "main" java.lang.IllegalStateException
        at net.sourceforge.plantuml.PSystemError.merge(PSystemError.java:356)
        at net.sourceforge.plantuml.PSystemBuilder.createPSystem(PSystemBuilder.
java:106)
        at net.sourceforge.plantuml.BlockUml.getDiagram(BlockUml.java:105)
        at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFi
leReader.java:129)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
        at net.sourceforge.plantuml.Run.main(Run.java:135)

 

 

asked Jul 15, 2015 in bug by anonymous

1 Answer

0 votes
Hi,

Thanks for the report.

Here is a beta that fixes the issue : https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

This will be in next official release (when sourceforge will be fully restored).

Regards,
answered Jul 23, 2015 by plantuml (124,290 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...