JDK-8151694 : i just run mvn clean install test
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8u72
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2016-03-02
  • Updated: 2016-05-31
  • Resolved: 2016-04-18
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :


ADDITIONAL OS VERSION INFORMATION :
linux mint 64 bits 

A DESCRIPTION OF THE PROBLEM :
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] logcontrol
[INFO] logcontrol-commons
[INFO] logcontrol-model
[INFO] logcontrol-integration
[INFO] logcontrol-business
[INFO] logcontrol-web
[INFO] logcontrol-ws Maven Webapp
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building logcontrol 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ logcontrol ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ logcontrol ---
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/pom.xml to /home/vinicius-brito/.m2/repository/br/com/logcontrol/logcontrol/0.0.1-SNAPSHOT/logcontrol-0.0.1
-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building logcontrol-commons 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ logcontrol-commons ---
[INFO] Deleting /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-commons/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ logcontrol-commons ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-commons/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ logcontrol-commons ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-commons ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ logcontrol-commons ---
[INFO] Building jar: /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-commons/target/logcontrol-commons-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ logcontrol-commons ---
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-commons/target/logcontrol-commons-0.0.1-SNAPSHOT.jar to /home/vinicius-brito/.m2/repository/br/c
om/logcontrol/logcontrol-commons/0.0.1-SNAPSHOT/logcontrol-commons-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-commons/pom.xml to /home/vinicius-brito/.m2/repository/br/com/logcontrol/logcontrol-commons/0.0.
1-SNAPSHOT/logcontrol-commons-0.0.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ logcontrol-commons ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ logcontrol-commons ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-commons ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building logcontrol-model 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ logcontrol-model ---
[INFO] Deleting /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-model/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ logcontrol-model ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 59 source files to /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-model/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ logcontrol-model ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-model ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ logcontrol-model ---
[INFO] Building jar: /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-model/target/logcontrol-model-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ logcontrol-model ---
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-model/target/logcontrol-model-0.0.1-SNAPSHOT.jar to /home/vinicius-brito/.m2/repository/br/com/l
ogcontrol/logcontrol-model/0.0.1-SNAPSHOT/logcontrol-model-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-model/pom.xml to /home/vinicius-brito/.m2/repository/br/com/logcontrol/logcontrol-model/0.0.1-SN
APSHOT/logcontrol-model-0.0.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ logcontrol-model ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ logcontrol-model ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-model ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building logcontrol-integration 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ logcontrol-integration ---
[INFO] Deleting /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-integration/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-integration ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ logcontrol-integration ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-integration ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ logcontrol-integration ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-integration ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ logcontrol-integration ---
[INFO] Building jar: /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-integration/target/logcontrol-integration-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ logcontrol-integration ---
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-integration/target/logcontrol-integration-0.0.1-SNAPSHOT.jar to /home/vinicius-brito/.m2/reposit
ory/br/com/logcontrol/logcontrol-integration/0.0.1-SNAPSHOT/logcontrol-integration-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-integration/pom.xml to /home/vinicius-brito/.m2/repository/br/com/logcontrol/logcontrol-integrat
ion/0.0.1-SNAPSHOT/logcontrol-integration-0.0.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-integration ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ logcontrol-integration ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-integration ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ logcontrol-integration ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-integration ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building logcontrol-business 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ logcontrol-business ---
[INFO] Deleting /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-business ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ logcontrol-business ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logcontrol-business ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ logcontrol-business ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ logcontrol-business ---
[INFO] Surefire report directory: /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target/surefire-reports
[INFO] Downloading: http://nexus:7061/nexus/content/groups/public/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.pom
[INFO] Downloaded: http://nexus:7061/nexus/content/groups/public/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.pom (3 KB at 9.1 KB/sec)
[INFO] Downloading: http://nexus:7061/nexus/content/groups/public/org/apache/maven/surefire/surefire-providers/2.12.4/surefire-providers-2.12.4.pom
[INFO] Downloaded: http://nexus:7061/nexus/content/groups/public/org/apache/maven/surefire/surefire-providers/2.12.4/surefire-providers-2.12.4.pom (3 KB at 57.3 KB/sec)
[INFO] Downloading: http://nexus:7061/nexus/content/groups/public/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.jar
[INFO] Downloaded: http://nexus:7061/nexus/content/groups/public/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.jar (37 KB at 379.5 KB/sec)

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running br.com.logcontrol.business.bo.ExpeditionGroupBOTest
log4j:WARN No appenders could be found for logger (br.com.logcontrol.business.bo.ExpeditionGroupBO).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.199 sec
Running br.com.logcontrol.business.bo.ImageBOTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec

Results :

Tests run: 36, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ logcontrol-business ---
[INFO] Building jar: /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target/logcontrol-business-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ logcontrol-business ---
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target/logcontrol-business-0.0.1-SNAPSHOT.jar to /home/vinicius-brito/.m2/repository/br
/com/logcontrol/logcontrol-business/0.0.1-SNAPSHOT/logcontrol-business-0.0.1-SNAPSHOT.jar
[INFO] Installing /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/pom.xml to /home/vinicius-brito/.m2/repository/br/com/logcontrol/logcontrol-business/0.
0.1-SNAPSHOT/logcontrol-business-0.0.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logcontrol-business ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ logcontrol-business ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 34 source files to /home/vinicius-brito/projects/LogControlNovo/trunk/Construction/logcontrol/logcontrol-business/target/classes
An exception has occurred in the compiler (1.8.0_72). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bu
gs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.IllegalStateException: endPosTable already set
	at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)
	at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350)
	at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:667)
	at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:950)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:892)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:921)
	at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1187)
	at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
	at com.sun.tools.javac.main.Main.compile(Main.java:523)
	at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
	at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
	at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:125)
	at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
	at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:825)
	at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
[INFO] -------------------------------------------------------------	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] logcontrol ......................................... SUCCESS [  0.891 s]
[INFO] logcontrol-commons ................................. SUCCESS [  4.806 s]
[INFO] logcontrol-model ................................... SUCCESS [  6.306 s]
[INFO] logcontrol-integration ............................. SUCCESS [  0.112 s]
[INFO] logcontrol-business ................................ FAILURE [ 10.064 s]
[INFO] logcontrol-web ..................................... SKIPPED
[INFO] logcontrol-ws Maven Webapp ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.509 s
[INFO] Finished at: 2016-03-02T10:21:36-03:00
[INFO] Final Memory: 43M/553M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project logcontrol-business: Compilation failure
[ERROR] An unknown compilation problem occurred
[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 <goals> -rf :logcontrol-business



REPRODUCIBILITY :
This bug can be reproduced always.


Comments
It looks like a duplicate issue of JDK-8067747. Therefore, closing it as closed/duplicate.
18-04-2016