[ https://issues.apache.org/jira/browse/RAT-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Warren closed RAT-302. ----------------------------- Resolution: Won't Fix Issue in Java 18 can not fix. Do not use java 18 for javadocs > Site build does not work with JDK18 / javadoc-plugin-failures with JDK>=16 > -------------------------------------------------------------------------- > > Key: RAT-302 > URL: https://issues.apache.org/jira/browse/RAT-302 > Project: Apache Rat > Issue Type: Bug > Components: site > Affects Versions: 0.14 > Reporter: Philipp Ottlinger > Priority: Major > Fix For: 0.17 > > > Due to [https://bugs.openjdk.java.net/browse/JDK-8270866] the site build does > not work with >=JDK18. > > Build yields: > {code:java} > [ERROR] Generating > creadur-rat/target/site/apidocs/org/apache/rat/report/xml/writer/impl/base/XmlWriter.html... > [ERROR] error: An internal exception has occurred. > [ERROR] (java.lang.NullPointerException: Cannot invoke > "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null) > [ERROR] Please file a bug against the javadoc tool via the Java bug reporting > page > [ERROR] (http://bugreport.java.com) after checking the Bug Database > (http://bugs.java.com) > [ERROR] for duplicates. Include error messages and the following diagnostic > in your report. Thank you. > [ERROR] java.lang.NullPointerException: Cannot invoke > "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null > [ERROR] at > jdk.javadoc/jdk.javadoc.internal.tool.JavadocLog.getDiagnosticSource(JavadocLog.java:667) > [ERROR] at > jdk.javadoc/jdk.javadoc.internal.tool.JavadocLog.print(JavadocLog.java:253) > {code} > Update 202411: JDK21 does work well! -- This message was sent by Atlassian Jira (v8.20.10#820010)