UOE: class net.sourceforge.plantuml.ugraphic.UImage class net.sourceforge.plantuml.ugraphic.html5.UGraphicHtml5

0 votes
asked Nov 3, 2014 in Bug by anonymous
Can not render file example/doc/example-03.puml with file format HTML5
java.lang.UnsupportedOperationException: class net.sourceforge.plantuml.ugraphic.UImage class net.sourceforge.plantuml.ugraphic.html5.UGraphicHtml5
        at net.sourceforge.plantuml.ugraphic.AbstractUGraphic.draw(AbstractUGraphic.java:74)
        at net.sourceforge.plantuml.graphic.GraphicStrings.drawU(GraphicStrings.java:211)
        at net.sourceforge.plantuml.UmlDiagram$1.drawU(UmlDiagram.java:277)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:139)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:119)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagramError(UmlDiagram.java:284)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:234)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsCuca(PSystemUtils.java:202)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:65)
        at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:130)
        at lein_plantuml.core$process_file.invoke(core.clj:72)
        at clojure.lang.Var.invoke(Var.java:388)
        at lein_plantuml.t_core$check_process.invoke(t_core.clj:30)
        at lein_plantuml.t_core$check_process$fn__6906.invoke(t_core.clj:28)
        at clojure.core$every_QMARK_.invoke(core.clj:2495)
        at lein_plantuml.t_core$check_process.invoke(t_core.clj:28)
        at lein_plantuml.t_core$eval6955$fn__6956$fn__6957$fn__6962.invoke(t_core.clj:61)
        at midje.checking.checkables$check_one$fn__4642$fn__4643.invoke(checkables.clj:115)
        at midje.checking.checkables$check_one$fn__4642.invoke(checkables.clj:114)
        at midje.util.thread_safe_var_nesting$with_altered_roots_STAR_.invoke(thread_safe_var_nesting.clj:32)
        at midje.checking.checkables$check_one.invoke(checkables.clj:112)
        at lein_plantuml.t_core$eval6955$fn__6956$fn__6957.invoke(t_core.clj:58)
        at midje.util.thread_safe_var_nesting$with_altered_roots_STAR_.invoke(thread_safe_var_nesting.clj:32)
        at lein_plantuml.t_core$eval6955$fn__6956.invoke(t_core.clj:58)
        at clojure.lang.AFn.applyToHelper(AFn.java:152)
        at clojure.lang.AFn.applyTo(AFn.java:144)
        at clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at midje.checking.facts$check_one$fn__4989.invoke(facts.clj:31)
        at midje.checking.facts$check_one.invoke(facts.clj:30)
 
UML file:
 
@startuml
 
skinparam usecase {
BackgroundColor DarkSeaGreen
BorderColor DarkSlateGray
 
BackgroundColor<< Main >> YellowGreen
BorderColor<< Main >> YellowGreen
 
ArrowColor Olive
ActorBorderColor black
ActorFontName Courier
 
ActorBackgroundColor<< Human >> Gold
}
 
User << Human >>
:Main Database: as MySql << Application >>
(Start) << One Shot >>
(Use the application) as (Use) << Main >>
 
User -> (Start)
User --> (Use)
 
MySql --> (Use)
 
@enduml 
 

2 Answers

0 votes
answered Nov 12, 2014 by anonymous
Sorry, have you got any news about this issue?
0 votes
answered Nov 13, 2014 by plantuml (295,000 points)
Hello,

After deeper investigation, it appears that support for HTML5 export is really in alpha stage.

This was just a try, and we are not sure that such an export is really usefull for user : you shoud use SVG instead. Is this possible for you ?

Sorry about this,
commented Nov 13, 2014 by anonymous
Yes, of course, I understand..
...