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

Rolf Schumacher commented on MCOMPILER-360:
-------------------------------------------

Never used a toolchain.xml. The default Java on my machine is 10.0.2, Java 
1.8.0 is installed, too, but not active. Did I get you right to run _mvn 
verify_ with Java 1.8.0 while directing the pom.xml of MCOMPILER-360 to use 
10.0.2?

Also: I can _mvn install_ 3.8.1-SNAPSHOT, the one from the git repo. Is that 
one equipped with your patch (as I guessed)? Than the np failure should have 
been gone if I use 3.8.1-SNAPSHOT in pom.xml of MCOMPILER-360 an run _mvn 
test_. Right? Its not.

> nullpointer exception
> ---------------------
>
>                 Key: MCOMPILER-360
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-360
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.0
>         Environment: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 
> (2018-08-21) x86_64 GNU/Linux
> java version "10.0.2" 2018-07-17
> Apache Maven 3.5.4 
>            Reporter: Rolf Schumacher
>            Priority: Major
>              Labels: build, maven, newbie
>         Attachments: 2018-09-06-stacktrace.txt, MCOMPILER-360.tar.gz, 
> mvn-verify-result.txt
>
>
> Trying to migrate an saxon/fop maven project to Java 10.
> Added module-info.java, entered all required Automatic names. No compiler 
> failures in Eclipse. Running "mvn -e test" leads to 2 warnings and a 
> maven-compile-plugin error
> Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile 
> (default-compile) on project xslt: Execution default-compile of goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile failed. 
> NullPointerException -> [Help 1]
> Full output is attached.



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

Reply via email to