umldoclet: Unanticipated error generating UML: java.lang.IllegalStateException: Cannot read from configured destination directory ""!
Expected Behavior
When calling javadoc with UML Plugin, the documents and images should be generated.
Actual Behavior
javadoc aborts with the following message:
Constructing Javadoc information...
UML Doclet (C) Copyright Talsma ICT, version: 2.0.10.
This software uses PlantUML (C) Copyright Arnaud Roques, version: 1.2019.08.
javadoc: warning - One or more cyclic package dependencies detected:
- de.ba.operativ.leistung.kiwi.person > de.ba.operativ.leistung.kiwi.person.boundary > de.ba.operativ.leistung.kiwi.person
Generating C:\workspace\git\person\person-business\target\apidocs\images\de.ba.operativ.leistung.kiwi.person.package.svg...
Generating C:\workspace\git\person\person-business\target\apidocs\images\de.ba.operativ.leistung.kiwi.person.boundary.package.svg...
...
Generating C:\workspace\git\person\person-business\target\apidocs\images\de.ba.operativ.leistung.kiwi.person.Main.svg...
Generating C:\workspace\git\person\person-business\target\apidocs\images\.....................package-dependencies.svg...
javadoc: error - Unanticipated error generating UML: java.lang.IllegalStateException: Cannot read from configured destination directory ""!
1 error
1 warning
Steps to Reproduce the Problem
Call javadoc with the following command:
javadoc @options @argfile
Contents of options:
-classpath
Classpath omitted for brevity
-doclet
'nl.talsmasoftware.umldoclet.UMLDoclet'
-docletpath
'C:/Users/RadloffC001/AppData/Local/Temp/MavenRepository/nl/talsmasoftware/umldoclet/2.0.10/umldoclet-2.0.10.jar'
-encoding
'UTF-8'
-protected
-sourcepath
'C:/workspace/git/person/person-business/target/generated-sources-delombok-main'
--uml-image-directory C:\workspace\git\person\person-business\target/apidocs/images
-Xdoclint:none
--delegate-doclet false
Specifications
- Version: 2.0.10
- Platform: Windows 10
- Java version: 11.0.7
- (If open source) Project link: closed source
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Fix dependency-diagram.puml location for empty destination directory. Fixes #284 Signed-off-by: Sjoerd Talsma <sjoerd@talsma-ict.nl> — committed to talsma-ict/umldoclet by sjoerdtalsma 4 years ago
- Fix dependency-diagram.puml location for empty destination directory. (#287) Fixes #284 Signed-off-by: Sjoerd Talsma <sjoerd@talsma-ict.nl> — committed to talsma-ict/umldoclet by sjoerdtalsma 4 years ago
With the -d option set the error doesn’t show up anymore.
Thank you very much