FYI, I'm seeing this issue now too. It appears we're being hit by an issue
with AutoValue and maven-compiler-plugin [1] [2]. According to the bug
thread, it is fixed in version 3.5.1. I've opened [BEAM-687] for the fix
[3].

[1] https://github.com/immutables/immutables/issues/134
[2] https://issues.apache.org/jira/browse/MCOMPILER-236
[3] https://issues.apache.org/jira/browse/BEAM-687

On Fri, Sep 16, 2016 at 10:52 PM, Jean-Baptiste Onofré <[email protected]>
wrote:

> Hi Jesse,
>
> I built yesterday without problem, but without cleaning my local repo.
>
> Let me try.
>
> Regards
> JB
>
>
> On 09/17/2016 01:07 AM, Jesse Anderson wrote:
>
>> Is anyone else experiencing this while building with Maven? I'm having to
>> clean each time. It only happens on beam-sdks-java-core.
>>
>> [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
>> beam-sdks-java-core ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 378 source files to
>> /home/vmuser/host/repos/incubator-beam/sdks/java/core/target/classes
>> An exception has occurred in the compiler (1.8.0_101). Please file a bug
>> against the Java compiler via the Java bug reporting page (
>> http://bugreport.java.com) after checking the Bug Database (
>> http://bugs.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(Dia
>> gnosticSource.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(JavaCompile
>> r.java:950)
>> at
>> com.sun.tools.javac.processing.JavacProcessingEnvironment$Ro
>> und.<init>(JavacProcessingEnvironment.java:892)
>> at
>> com.sun.tools.javac.processing.JavacProcessingEnvironment$Ro
>> und.next(JavacProcessingEnvironment.java:921)
>> at
>> com.sun.tools.javac.processing.JavacProcessingEnvironment.do
>> Processing(JavacProcessingEnvironment.java:1187)
>> at
>> com.sun.tools.javac.main.JavaCompiler.processAnnotations(Jav
>> aCompiler.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.compil
>> eInProcess(JavaxToolsCompiler.java:125)
>> at
>> org.codehaus.plexus.compiler.javac.JavacCompiler.performComp
>> ile(JavacCompiler.java:169)
>> at
>> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execut
>> e(AbstractCompilerMojo.java:825)
>> at
>> org.apache.maven.plugin.compiler.CompilerMojo.execute(Compil
>> erMojo.java:129)
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj
>> o(DefaultBuildPluginManager.java:134)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:207)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:153)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:145)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>> uildProject(LifecycleModuleBuilder.java:116)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>> uildProject(LifecycleModuleBuilder.java:80)
>> at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.S
>> ingleThreadedBuilder.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:863)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha
>> nced(Launcher.java:289)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(
>> Launcher.java:229)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx
>> itCode(Launcher.java:415)
>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(
>> Launcher.java:356)
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] An unknown compilation problem occurred
>> [INFO] 1 error
>>
>> vmuser@packer-virtualbox-iso:~/host/repos/incubator-beam$ mvn --version
>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>> 2015-11-10T11:41:47-05:00)
>> Maven home: /usr/share/maven3
>> Java version: 1.8.0_101, vendor: Oracle Corporation
>> Java home: /usr/lib/jvm/java-8-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "4.2.0-27-generic", arch: "amd64", family:
>> "unix"
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to