You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Philipp Ottlinger (Jira)" <ji...@apache.org> on 2022/05/09 09:05:00 UTC

[jira] [Created] (RAT-302) Site build does not work with JDK18

Philipp Ottlinger created RAT-302:
-------------------------------------

             Summary: Site build does not work with JDK18
                 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


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}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)