@startUML capitalization causes crash

0 votes
asked Jul 15, 2015 in Bug by anonymous

@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)

 

 

1 Answer

0 votes
answered Jul 23, 2015 by plantuml (295,000 points)
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,
...