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

ClassCastException in com.sun.tools.javac.comp.Annotate.enterAttributeValue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • None
    • 6u10
    • tools
    • x86
    • windows_xp

    Description

      FULL PRODUCT VERSION :
      java version "1.6.0_20"
      Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
      Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      init.typedefs:
       
      init:
       
      build:
            [apt] [web.content.root]|[/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/WebContent]
            [apt] [web.source.roots]|[/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/src]
            [apt] Compiling 1 source file to /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/build/classes
            [apt] An exception has occurred in apt (1.6.0_05). 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.
            [apt] java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCErroneous
            [apt] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:205)
            [apt] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:219)
            [apt] at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:167)
            [apt] at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:743)
            [apt] at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:42)
            [apt] at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:711)
            [apt] at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:95)
            [apt] at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:87)
            [apt] at com.sun.tools.javac.comp.Enter.complete(Enter.java:472)
            [apt] at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
            [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:250)
            [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1102)
            [apt] at com.sun.tools.apt.main.Main.compile(Main.java:964)
            [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
            [apt] at com.sun.tools.apt.Main.process(Main.java:43)
            [apt] at com.sun.tools.apt.Main.main(Main.java:34)
       
      BUILD FAILED
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildApp/build.xml:88: The following error occurred while executing this line:
      jar:file:/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:115: The following error occurred while executing this line:
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildApp/build.xml:98: The following error occurred while executing this line:
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/build.xml:103: The following error occurred while executing this line:
      jar:file:/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:54: The following error occurred while executing this line:
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/build.xml:127: Compile failed; see the compiler error output for details.



      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      init.typedefs:
       
      init:
       
      build:
            [apt] [web.content.root]|[/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/WebContent]
            [apt] [web.source.roots]|[/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/src]
            [apt] Compiling 1 source file to /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/build/classes
            [apt] An exception has occurred in apt (1.6.0_05). 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.
            [apt] java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCErroneous
            [apt] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:205)
            [apt] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:219)
            [apt] at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:167)
            [apt] at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:743)
            [apt] at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:42)
            [apt] at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:711)
            [apt] at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:95)
            [apt] at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:87)
            [apt] at com.sun.tools.javac.comp.Enter.complete(Enter.java:472)
            [apt] at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
            [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:250)
            [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1102)
            [apt] at com.sun.tools.apt.main.Main.compile(Main.java:964)
            [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
            [apt] at com.sun.tools.apt.Main.process(Main.java:43)
            [apt] at com.sun.tools.apt.Main.main(Main.java:34)
       
      BUILD FAILED
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildApp/build.xml:88: The following error occurred while executing this line:
      jar:file:/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:115: The following error occurred while executing this line:
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildApp/build.xml:98: The following error occurred while executing this line:
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/build.xml:103: The following error occurred while executing this line:
      jar:file:/apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:54: The following error occurred while executing this line:
      /apps/opt/vbuild/code/rashmi/Workshop_10/vbuild/vbuildWeb/build.xml:127: Compile failed; see the compiler error output for details.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      SUPPORT :
      YES

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: