PlantUML asked me to report an exception for package foo1 }-- foo2

0 votes
asked Nov 2, 2017 in Bug by anonymous
An error has occured: java.lang.UnsupportedOperationException: class net.sourceforge.plantuml.svek.extremity.ExtremityFactoryCrowfoot
 net.sourceforge.plantuml.svek.AbstractExtremityFactory.createUDrawable(AbstractExtremityFactory.java:46)
 net.sourceforge.plantuml.svek.Line.getExtremity(Line.java:474)
 net.sourceforge.plantuml.svek.Line.solveLine(Line.java:555)
 net.sourceforge.plantuml.svek.DotStringFactory.solve(DotStringFactory.java:429)
 net.sourceforge.plantuml.svek.DotDataImageBuilder.buildImage(DotDataImageBuilder.java:202)
 net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek.createFileInternal(CucaDiagramFileMakerSvek.java:104)
 net.sourceforge.plantuml.svek.CucaDiagramFileMakerSvek.createFile(CucaDiagramFileMakerSvek.java:70)
 net.sourceforge.plantuml.svek.cucadiagram.DucaDiagram.exportDiagramInternal(CucaDiagram.java:339)
 net.sourceforge.plantuml.svek.classdiagram.DucaDiagram.exportDiagramInternal(ClassDiagram.java:207)
 net.sourceforge.plantuml.svek.mlDiagram.exportDiagramNow(UmlDiagram.java:237)

1 Answer

0 votes
answered Nov 3, 2017 by plantuml (201,100 points)

Thanks for the report!

The following example is working for us:

@startuml
package foo1 {
}
package foo2 {
}
foo1 }--{ foo2
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuIf8JCvEJ4zLIClFDrIevgf55Z022u1bQdLrgy52N0wfUIaWZG00

Could you post here your non-working example ?

Thanks!

...