Description
Due to https://bugs.openjdk.java.net/browse/JDK-8270866 the site build does not work with >=JDK18.
Build yields:
[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)