[ 
https://issues.apache.org/jira/browse/RAT-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804895#comment-17804895
 ] 

Philipp Ottlinger commented on RAT-302:
---------------------------------------

In RAT 0.14 we experienced problems with more recent JDKs during runs of 
javadoc on RAT:
 * https://issues.apache.org/jira/browse/RAT-273 which was related to
 * [https://bugs.openjdk.org/browse/JDK-8270866]

 

Albeit this bug is already fixed in the JDK the problem remains.
[~joc...@apache.org] do you have an easy way to reproduce the issue so one 
could create an upstream ticket at [https://bugs.openjdk.org/?]
I do not really understand the problem the plugin runs into, but would love to 
use more recent JDKs. Thanks.

> 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}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to