Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7191722

com.sun.tools.javac.code.Lint$AugmentVisitor.augment(Lint.java:290)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • tools
    • x86
    • windows_7

      FULL PRODUCT VERSION :
      $ $JAVA_HOME/bin/java -version
      java version "1.7.0"
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 64 bit enterprise

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      cygwin
      maven 3
      java sdk 7
      apache sling

      A DESCRIPTION OF THE PROBLEM :
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1:17.330s
      [INFO] Finished at: Wed Aug 15 21:46:26 CEST 2012
      [INFO] Final Memory: 129M/362M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project org.apache.sling.auth.openid: Compilation failure
      [ERROR] Failure executing javac, but could not parse the error:
      [ERROR] An exception has occurred in the compiler (1.7.0). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
      [ERROR] java.lang.AssertionError: java.lang.NullPointerException
      [ERROR] at com.sun.tools.javac.code.Symbol$VarSymbol.getConstValue(Symbol.java:1005)
      [ERROR] at com.sun.tools.javac.comp.Attr.checkInit(Attr.java:2627)
      [ERROR] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:2285)
      [ERROR] at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1677)
      [ERROR] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
      [ERROR] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
      [ERROR] at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:449)
      [ERROR] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:203)
      [ERROR] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:243)
      [ERROR] at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:181)
      [ERROR] at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:778)
      [ERROR] at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:56)
      [ERROR] at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:746)
      [ERROR] at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:109)
      [ERROR] at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:101)
      [ERROR] at com.sun.tools.javac.comp.Enter.complete(Enter.java:510)
      [ERROR] at com.sun.tools.javac.comp.Enter.main(Enter.java:469)
      [ERROR] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:929)
      [ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
      [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:417)
      [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:331)
      [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:322)
      [ERROR] at com.sun.tools.javac.Main.compile(Main.java:94)
      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
      [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess0(JavacCompiler.java:551)
      [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:526)
      [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:167)
      [ERROR] at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:678)
      [ERROR] at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
      [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      [ERROR] Caused by: java.lang.NullPointerException
      [ERROR] at com.sun.tools.javac.code.Lint$AugmentVisitor.augment(Lint.java:290)
      [ERROR] at com.sun.tools.javac.code.Lint.augment(Lint.java:82)
      [ERROR] at com.sun.tools.javac.comp.Attr.attribLazyConstantValue(Attr.java:597)
      [ERROR] at com.sun.tools.javac.code.Symbol$VarSymbol$1.call(Symbol.java:971)
      [ERROR] at com.sun.tools.javac.code.Symbol$VarSymbol.getConstValue(Symbol.java:1003)
      [ERROR] ... 52 more
      [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 :org.apache.sling.auth.openid


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Download apache sling from svn trunk e.g.

      http://sling.apache.org/site/getting-and-building-sling.html

      http://sling.apache.org/site/project-information.html#ProjectInformation-ProjectInformationsource



      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: