PlantUML crashes with this example

+1 vote
asked Feb 2, 2017 in Bug by anonymous
Hello,
 
the following example is not translated into activity diagram and display a bug report.
Please any suggestions?
 
 
@startuml
skinparam monochrome true
start
:Text ;
repeat
:Text 0;
   if (condition A) then (yes)
      :Text 1;
   elseif (condition B) then (yes)
       :Text 2;
   else (no)
:Text 3;
   endif
:Text 5;
if (condition B ? ) then (yes)
  :Text 6;
else (no)
  break
endif
repeat while (condition C ? )is (yes) not (no)
->
 :Text 8;
stop
@enduml

2 Answers

+1 vote
answered Feb 2, 2017 by plantuml (298,440 points)
Thanks for the report.
This is a bug of the "break" feature.

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

The drawing is not perfect, but it works.
Tell us if you still have issues.

Thanks again
commented Feb 2, 2017 by anonymous
Thank you!
this solved my problem:)
0 votes
answered Feb 3, 2017 by PlantMaster (160 points)

The new plantuml.jar works fine with this code:

...