We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With some older version this worked, at least I could generate some of those diagrams. However, within my actual project I get
[loading /modules/java.desktop/javax/swing/SwingConstants.class] [loading /modules/java.desktop/javax/swing/ScrollPaneConstants.class] [loading /modules/java.desktop/javax/swing/text/JTextComponent.class] error: Unanticipated error generating UML: java.lang.IllegalArgumentException [done in 1199 ms] 1 error Command line was: cmd.exe /X /D /C ""C:\Program Files\Eclipse Adoptium\jdk-17.0.8.7-hotspot\bin\javadoc.exe" -J-Xmx2048m -J-Duser.language= -J-Duser.country= @options @packages" Refer to the generated Javadoc files in 'xxx\apidocs' dir.
Since this seems to be the most generic Exception while generating UML diagrams, I have no clue, whats wrong.
How can I configure javadoc to show me this UML doclet exception + stacktrace.
If I start the generated javadoc.bat manually I get the same exception.
JDK 17 (Temurin), umldoclet 2.2
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <!-- *START* UML generation --> <doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet> <docletArtifact> <groupId>nl.talsmasoftware</groupId> <artifactId>umldoclet</artifactId> <version>2.2.0</version> </docletArtifact> <additionalOptions> <!-- <additionalOption>- -create-puml-files</additionalOption> --> <additionalOption>--uml-custom-directive='!pragma layout smetana'</additionalOption> </additionalOptions> <!-- *END* UML generation --> <!-- <useStandardDocletOptions>true</useStandardDocletOptions> --> <failOnError>false</failOnError> <maxmemory>2g</maxmemory> <verbose>true</verbose> <doclint>none</doclint> <failOnError>false</failOnError> </configuration> <reportSets> <reportSet> <id>default</id> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin>
The text was updated successfully, but these errors were encountered:
Playing with my configuration the problems strangely seems to be:
<verbose>true</verbose>
If I remove this line in my maven configuration, it seems to work now.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
With some older version this worked, at least I could generate some of those diagrams. However, within my actual project I get
Since this seems to be the most generic Exception while generating UML diagrams, I have no clue, whats wrong.
How can I configure javadoc to show me this UML doclet exception + stacktrace.
If I start the generated javadoc.bat manually I get the same exception.
JDK 17 (Temurin), umldoclet 2.2
The text was updated successfully, but these errors were encountered: