java.lang.AssertionError

JDK Bug System | Webbug Group | 9 months ago
  1. 0

    FULL PRODUCT VERSION : $ java -version java version "1.8.0_72" Java(TM) SE Runtime Environment (build 1.8.0_72-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode) ADDITIONAL OS VERSION INFORMATION : Linux xxxxxx 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux EXTRA RELEVANT SYSTEM CONFIGURATION : i7-4770K GTX 980 A DESCRIPTION OF THE PROBLEM : Trying to compile my project, but getting the below mentioned compiler exception. Both in maven and intellij STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Try to compile the project EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Compiled project or error message telling me where I am wrong. ACTUAL - Compilation fails ERROR MESSAGES/STACK TRACES THAT OCCUR : 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://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) at com.sun.tools.javac.util.Assert.check(Assert.java:45) at com.sun.tools.javac.code.Types.functionalInterfaceBridges(Types.java:659) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$TranslationContext.<init>(LambdaToMethod.java:1695) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.<init>(LambdaToMethod.java:1778) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1278) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1263) at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.visitVarDef(TreeTranslator.java:153) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitVarDef(LambdaToMethod.java:1444) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:852) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1172) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1172) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1302) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1211) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1162) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1119) at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197) at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190) at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356) at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860) 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:126) at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169) at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Copyright by me, do not make public without permission. public interface Changeable { ... } /** * Describes a {@link Changeable} that can be monitored, * and therefore a {@link ChangedListener} be registered */ public interface MonitorableChangeable<T extends MonitorableChangeable> extends Changeable { /** * @param listener {@link ChangedListener} to register * @return itself */ T registerChangedListener(ChangedListener<T> listener); /** * @param listener {@link ChangedListener} to remove from the registrations * @return itself */ T unregisterChangedListener(ChangedListener<T> listener); class ChangedEvent<T extends MonitorableChangeable> implements Event { protected final T changeable; public ChangedEvent(T changeable) { this.changeable = changeable; } /** * @return The {@link MonitorableChangeable} that has changed */ public T getChangeable() { return changeable; } } interface ChangedListener<T extends MonitorableChangeable> extends ExplicitEventListener<ChangedEvent<T>> { @Override default void invoke(ChangedEvent<T> event) { onChanged(event); } /** * @param event {@link ChangedEvent} with additional information */ void onChanged(ChangedEvent<T> event); } } public class Reference<T> { private T value; public Reference (T value) { this.value = value; } /** * @return The current value */ public T get () { return value; } /** * @param value New value to set * @return The new current value */ public T set (T value) { this.value = value; return get(); } } // somewhere in the code Reference<Boolean> saveState = new Reference<>(false); MonitorableChangeable.ChangedListener listener = (c) -> saveState.set(true); ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Reference<Boolean> saveState = new Reference<>(false); MonitorableChangeable.ChangedListener<?> listener = (c) -> saveState.set(true);

    JDK Bug System | 9 months ago | Webbug Group
    java.lang.AssertionError
  2. 0

    FULL PRODUCT VERSION : $ java -version java version "1.8.0_72" Java(TM) SE Runtime Environment (build 1.8.0_72-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode) ADDITIONAL OS VERSION INFORMATION : Linux xxxxxx 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux EXTRA RELEVANT SYSTEM CONFIGURATION : i7-4770K GTX 980 A DESCRIPTION OF THE PROBLEM : Trying to compile my project, but getting the below mentioned compiler exception. Both in maven and intellij STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Try to compile the project EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Compiled project or error message telling me where I am wrong. ACTUAL - Compilation fails ERROR MESSAGES/STACK TRACES THAT OCCUR : 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://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) at com.sun.tools.javac.util.Assert.check(Assert.java:45) at com.sun.tools.javac.code.Types.functionalInterfaceBridges(Types.java:659) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$TranslationContext.<init>(LambdaToMethod.java:1695) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.<init>(LambdaToMethod.java:1778) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1278) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1263) at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.visitVarDef(TreeTranslator.java:153) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitVarDef(LambdaToMethod.java:1444) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:852) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1172) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1172) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1302) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1211) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1162) at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1119) at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197) at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190) at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356) at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860) 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:126) at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169) at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Copyright by me, do not make public without permission. public interface Changeable { ... } /** * Describes a {@link Changeable} that can be monitored, * and therefore a {@link ChangedListener} be registered */ public interface MonitorableChangeable<T extends MonitorableChangeable> extends Changeable { /** * @param listener {@link ChangedListener} to register * @return itself */ T registerChangedListener(ChangedListener<T> listener); /** * @param listener {@link ChangedListener} to remove from the registrations * @return itself */ T unregisterChangedListener(ChangedListener<T> listener); class ChangedEvent<T extends MonitorableChangeable> implements Event { protected final T changeable; public ChangedEvent(T changeable) { this.changeable = changeable; } /** * @return The {@link MonitorableChangeable} that has changed */ public T getChangeable() { return changeable; } } interface ChangedListener<T extends MonitorableChangeable> extends ExplicitEventListener<ChangedEvent<T>> { @Override default void invoke(ChangedEvent<T> event) { onChanged(event); } /** * @param event {@link ChangedEvent} with additional information */ void onChanged(ChangedEvent<T> event); } } public class Reference<T> { private T value; public Reference (T value) { this.value = value; } /** * @return The current value */ public T get () { return value; } /** * @param value New value to set * @return The new current value */ public T set (T value) { this.value = value; return get(); } } // somewhere in the code Reference<Boolean> saveState = new Reference<>(false); MonitorableChangeable.ChangedListener listener = (c) -> saveState.set(true); ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Reference<Boolean> saveState = new Reference<>(false); MonitorableChangeable.ChangedListener<?> listener = (c) -> saveState.set(true);

    JDK Bug System | 9 months ago | Webbug Group
    java.lang.AssertionError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    FULL PRODUCT VERSION : java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows [Version 6.1.7601] A DESCRIPTION OF THE PROBLEM : maven fails on wsdl complitaion REGRESSION. Last worked in version 7u75 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : run maven clean install on maven project with jaxws plugin <plugin> <groupId>org.jvnet.jax-ws-commons</groupId> <artifactId>jaxws-maven-plugin</artifactId> <version>2.3</version> <executions> <execution> <id>xxxxxx</id> <phase>generate-sources</phase> <goals> <goal>wsimport</goal> </goals> <configuration> <vmArgs> <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> </vmArgs> <wsdlFiles> <wsdlFile>${basedir}/src/main/resources/META-INF/wsdl/xxxxxxx-v1.0.wsdl</wsdlFile> </wsdlFiles> <bindingFiles> <bindingFile>${basedir}/src/main/resources/META-INF/wsdl/xxxxxx-jaxws-bindings.xml</bindingFile> </bindingFiles> </configuration> </execution> </executions> </plugin> ERROR MESSAGES/STACK TRACES THAT OCCUR : [INFO] Processing: file:/C:/mercurial/xxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/src/main/resources/META-INF/wsdl/enr [INFO] jaxws:wsimport args: [-keep, -s, xxxxxxxxxxxxxx.wsdl"] parsing WSDL... Generating code... [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ xxxxxxxxxxxxxxx --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xxxxxxxxxxxxxxxxxxx --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 24 source files to xxxxxxxxxxxxx\target\classes An exception has occurred in the compiler (1.8.0_45). Please file a bug at the Java Developer Connection (http://java.sun.com/w nk you. java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) at com.sun.tools.javac.util.Assert.check(Assert.java:45) at com.sun.tools.javac.code.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161) at com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:215) at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:952) at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64) at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:876) at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143) at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129) at com.sun.tools.javac.comp.Enter.complete(Enter.java:512) at com.sun.tools.javac.comp.Enter.main(Enter.java:471) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:982) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857) 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:126) at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169) at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785) 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) 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:497) 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) [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] An unknown compilation problem occurred [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: REPRODUCIBILITY : This bug can be reproduced always.

    JDK Bug System | 1 year ago | Webbug Group
    java.lang.AssertionError

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at com.sun.tools.javac.util.Assert.error()
    2. Java Tools
      JavacTaskImpl.call
      1. com.sun.tools.javac.util.Assert.error(Assert.java:126)
      2. com.sun.tools.javac.util.Assert.check(Assert.java:45)
      3. com.sun.tools.javac.code.Types.functionalInterfaceBridges(Types.java:659)
      4. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$TranslationContext.<init>(LambdaToMethod.java:1695)
      5. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.<init>(LambdaToMethod.java:1778)
      6. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1278)
      7. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1263)
      8. com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)
      9. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      10. com.sun.tools.javac.tree.TreeTranslator.visitVarDef(TreeTranslator.java:153)
      11. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitVarDef(LambdaToMethod.java:1444)
      12. com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:852)
      13. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      14. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
      15. com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)
      16. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1172)
      17. com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
      18. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      19. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
      20. com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)
      21. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1172)
      22. com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
      23. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      24. com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145)
      25. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1302)
      26. com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
      27. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      28. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
      29. com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)
      30. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1211)
      31. com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
      32. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      33. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1162)
      34. com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1119)
      35. com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232)
      36. com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
      37. com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
      38. com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
      39. com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
      40. com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)
      41. com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493)
      42. com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356)
      43. com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
      44. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
      45. com.sun.tools.javac.main.Main.compile(Main.java:523)
      46. com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      47. com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      47 frames
    3. Plexus Javac Component
      JavacCompiler.performCompile
      1. org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
      2. org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
      2 frames
    4. Apache Maven Compiler Plugin
      CompilerMojo.execute
      1. org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)
      2. org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
      2 frames
    5. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    6. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    7. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames