gantt-diagram

0 votes
asked Apr 17 in Bug by any_can_see (140 points)

[task] happens at 2019/23/04

Running the plantuml included with docker/asciidoctor-docker (current release)

Generates the following exception.

Error java.lang.ArrayIndexOutOfBoundsException: 22
java.lang.ArrayIndexOutOfBoundsException: 22
    at net.sourceforge.plantuml.project3.DayAsDate.create(DayAsDate.java:44)
    at net.sourceforge.plantuml.project3.ComplementDate.resultB(ComplementDate.java:96)
    at net.sourceforge.plantuml.project3.ComplementDate.getComplement(ComplementDate.java:77)
    at net.sourceforge.plantuml.project3.NaturalCommand.executeArg(NaturalCommand.java:62)
    at net.sourceforge.plantuml.project3.NaturalCommand.executeArg(NaturalCommand.java:40)
    at net.sourceforge.plantuml.command.SingleLineCommand2.execute(SingleLineCommand2.java:126)
    at net.sourceforge.plantuml.command.ProtectedCommand.execute(ProtectedCommand.java:50)
    at net.sourceforge.plantuml.AbstractPSystem.executeCommand(AbstractPSystem.java:119)
    at net.sourceforge.plantuml.command.UmlDiagramFactory.executeFewLines(UmlDiagramFactory.java:114)
    at net.sourceforge.plantuml.command.UmlDiagramFactory.createSystem(UmlDiagramFactory.java:97)
    at net.sourceforge.plantuml.PSystemBuilder.createPSystem(PSystemBuilder.java:114)
    at net.sourceforge.plantuml.BlockUml.getDiagram(BlockUml.java:130)
    at net.sourceforge.plantuml.SourceStringReader.outputImage(SourceStringReader.java:145)
    at net.sourceforge.plantuml.SourceStringReader.outputImage(SourceStringReader.java:121)
    at org.asciidoctor.diagram.plantuml.PlantUML.generate(PlantUML.java:101)
    at org.asciidoctor.diagram.CommandProcessor.processRequest(CommandProcessor.java:40)
    at org.asciidoctor.diagram.CommandServer.processRequests(CommandServer.java:62)
    at org.asciidoctor.diagram.CommandServer.main(CommandServer.java:25)
You should send a mail to plantuml@gmail.com or post to http://plantuml.com/qa with this log (V1.2018.10)

1 Answer

+1 vote
answered Apr 17 by plantuml (202,620 points)
selected Apr 17 by any_can_see
 
Best answer

Thanks for the feedback : we will improve the error message.

However, you should use instead :

@startuml
project starts 2019/04/23
[task] happens at 2019/04/23
@enduml
...