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

An exception has occurred in the compiler (1.5.0_06).

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • tools
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-beta-b59g)
      Java HotSpot(TM) Client VM (build 1.6.0-beta-b59g, mixed mode, sharing)

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

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using Netbeans IDE 5.0

      A DESCRIPTION OF THE PROBLEM :
      Unable to compile my code due to a bug in the java compiler (1.5.0_06). I Therefore do not have any result (Since I am unable to test my code) nor do I undertand the source of the problem.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Compile all files - javac -d . *.java
      2) javac Trigger.java

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      An exception has occurred in the compiler (1.5.0_06). 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.
      java.lang.NullPointerException
              at com.sun.tools.javac.code.Types$AsSuperFcn.visitClassType(Types.java:1413)
              at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
              at com.sun.tools.javac.code.Types$AsSuperFcn.asSuper(Types.java:1390)
              at com.sun.tools.javac.code.Types$AsSuperFcn.visitClassType(Types.java:1407)
              at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
              at com.sun.tools.javac.code.Types$AsSuperFcn.asSuper(Types.java:1390)
              at

      ---------- BEGIN SOURCE ----------
      Attached Seperatly
      ---------- END SOURCE ----------

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      I do not know which part to send. I'll have to send to whole application (small program - about 16 files )
      ---------- END SOURCE ----------

            ahe Peter Ahe
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: