You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Luis Panadero Guardeño (Jira)" <ji...@apache.org> on 2021/01/19 06:42:00 UTC

[jira] [Created] (MCOMPILER-450) Internal compiler error: java.nio.file.ClosedFileSystemException

Luis Panadero Guardeño created MCOMPILER-450:
------------------------------------------------

             Summary: Internal compiler error: java.nio.file.ClosedFileSystemException
                 Key: MCOMPILER-450
                 URL: https://issues.apache.org/jira/browse/MCOMPILER-450
             Project: Maven Compiler Plugin
          Issue Type: Bug
    Affects Versions: 3.8.1
            Reporter: Luis Panadero Guardeño


Trying to launch maven with -T 4  and with Java 11.0.9.1, I get this error :
{code:java}
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project digiweb: Compilati
on failure: Compilation failure:                                                                                                            
[ERROR] /home/luis/repos/work/java/librerias/framework_rwd/digiweb/src/main/java/com/digibis/commons/web/doc/WebDocHandler.java:  
[ERROR] 13. ERROR in /home/luis/repos/work/java/librerias/framework_rwd/digiweb/src/main/java/com/digibis/commons/web/doc/WebDocHandler.jav
a (at line 0)

[ERROR]         /*

[ERROR]         ^

[ERROR] Internal compiler error: java.nio.file.ClosedFileSystemException at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.
java:1146)

[ERROR] Found 1 error and 28 warnings.

[ERROR] -> [Help 1]

[ERROR]  
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]  
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[ERROR]  
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <args> -rf :digiweb

{code}
This error, hapens with Java 11 and Java 14, when I enalbe to use multiple threads. With Java 8 or with Java 11/14 on single thread mode don't throws this error.

 

Looks, that could be related to this error of Eclipse : https://bugs.eclipse.org/bugs/show_bug.cgi?id=539536

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)