You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Raynsford (JIRA)" <ji...@apache.org> on 2018/05/13 09:37:00 UTC

[jira] [Commented] (MJAVADOC-524) Running javadoc plugin under JDK 10 fails with NPE

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

Mark Raynsford commented on MJAVADOC-524:
-----------------------------------------

Oddly, I'm seeing this on some JDK 10 installations and not others.
On Linux:
{noformat}
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10)
OpenJDK 64-Bit Server VM (build 10.0.1+10, mixed mode)
{noformat}
... works. On macOS:
{noformat}
openjdk version "10-internal"
OpenJDK Runtime Environment (build 10-internal+0-adhoc.jenkins.openjdk)
OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.jenkins.openjdk, mixed mode)
{noformat}
... fails! The macOS build came from the AdoptOpenJDK project.

> Running javadoc plugin under JDK 10 fails with NPE
> --------------------------------------------------
>
>                 Key: MJAVADOC-524
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-524
>             Project: Maven Javadoc Plugin
>          Issue Type: Dependency upgrade
>    Affects Versions: 3.0.0
>            Reporter: Karl Heinz Marbaise
>            Priority: Blocker
>             Fix For: 3.0.1
>
>
> Running under JDK 10 produces the following:
> {code}
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar (attach-javadocs) on project maven-dependency-analyzer: Execution attach-javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar failed.: NullPointerException -> [Help 1]
> [INFO] [ERROR]
> [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [INFO] [ERROR]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)