Salt and Skinparam leads to error

0 votes
asked Jun 29 in Bug by FatherJAM (220 points)
edited Jul 2 by FatherJAM

Hello,

I build my plant uml svgs with ant. In my ant-script I use the option "-config". In my config file there are some settings (e.g. skinparam and scale max ), which I need up to now for all my diagrams.

Now, I added some salt

@startsalt
{+
  {* File | Window | Help  }
  {
  }
}
@endsalt


Result is

L = data=[scale 0.85, scale max 800*1000, {+, {* File | Window | Help  }, {, , }, }, ]
java.lang.IllegalArgumentException
 at net.sourceforge.plantuml.salt.PSystemSalt.createElement(PSystemSalt.java:190)
 at net.sourceforge.plantuml.salt.PSystemSalt.exportDiagramNow(PSystemSalt.java:108)
 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)

commented Jun 29 by albert (1,180 points)
Can you edit the question a bit  make it a bit more readable by using 'Courier New' font for the different coding / error sections?
commented 5 days ago by albert (1,180 points)
Which version of plantuml did you use (java -Djava.awt.headless=true -jar plantuml.jar -version)?
What were the exact commands started?
What happens when starting form the command line?

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.
...