Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-360

NPE when calculating modulepath with invalid entries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.8.1
    • Labels:
    • 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
    • Flags:
      Important

      Description

      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.

        Attachments

        1. with-Dinvoker.txt
          1 kB
          Rolf Schumacher
        2. mvn-verify-result.txt
          2 kB
          Rolf Schumacher
        3. MCOMPILER-360.tar.gz
          2 kB
          Rolf Schumacher
        4. 2018-09-06-stacktrace.txt
          8 kB
          Rolf Schumacher

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                ngong Rolf Schumacher
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: