JDK-6418721 : An exception has occurred in the compiler (1.5.0_06).
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-04-27
  • Updated: 2011-02-16
  • Resolved: 2006-04-27
Related Reports
Duplicate :  
Description
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 ----------

Comments
EVALUATION This "bug" is a duplicate of 6356636.
27-04-2006