JDK-8068656 : An exception has occurred in the compiler
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8u25
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-01-08
  • Updated: 2015-01-08
  • Resolved: 2015-01-08
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
    [javac] Compiling 8395 source files to C:\Users\dennis.cheung\Documents\workspace\ekpmaster\target\classes\java
    [javac] An exception has occurred in the compiler (1.8.0_25). Please file a bug at the Java Developer Connection (ht
tp://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the followi
ng diagnostic in your report.  Thank you.
    [javac] java.lang.NullPointerException
    [javac]     at com.sun.tools.javac.code.Types.lub(Types.java:3562)
    [javac]     at com.sun.tools.javac.code.Types.lub(Types.java:3520)
    [javac]     at com.sun.tools.javac.comp.Infer.getParameterizedSupers(Infer.java:624)
    [javac]     at com.sun.tools.javac.comp.Infer.access$200(Infer.java:64)
    [javac]     at com.sun.tools.javac.comp.Infer$IncorporationStep$7.apply(Infer.java:785)
    [javac]     at com.sun.tools.javac.comp.Infer.checkWithinBounds(Infer.java:551)
    [javac]     at com.sun.tools.javac.comp.Infer$GraphSolver.solve(Infer.java:1576)
    [javac]     at com.sun.tools.javac.comp.Infer$InferenceContext.solve(Infer.java:2198)
    [javac]     at com.sun.tools.javac.comp.Infer$InferenceContext.solve(Infer.java:2190)
    [javac]     at com.sun.tools.javac.comp.Infer$InferenceContext.solve(Infer.java:2205)
    [javac]     at com.sun.tools.javac.comp.Infer.instantiateMethod(Infer.java:186)
    [javac]     at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:564)
    [javac]     at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1431)
    [javac]     at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1618)
    [javac]     at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1689)
    [javac]     at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1662)
    [javac]     at com.sun.tools.javac.comp.Resolve$9.doLookup(Resolve.java:2415)
    [javac]     at com.sun.tools.javac.comp.Resolve$BasicLookupHelper.lookup(Resolve.java:3074)
    [javac]     at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3325)
    [javac]     at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2412)
    [javac]     at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2406)
    [javac]     at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:3395)
    [javac]     at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3281)
    [javac]     at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1897)
    [javac]     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607)
    [javac]     at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1843)
    [javac]     at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
    [javac]     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607)
    [javac]     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:656)
    [javac]     at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1611)
    [javac]     at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)
    [javac]     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607)
    [javac]     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:676)
    [javac]     at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:692)
    [javac]     at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1142)
    [javac]     at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
    [javac]     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607)
    [javac]     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:676)
    [javac]     at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1035)
    [javac]     at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
    [javac]     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607)
    [javac]     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:676)
    [javac]     at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4342)
    [javac]     at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4252)
    [javac]     at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4181)
    [javac]     at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4156)
    [javac]     at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1248)
    [javac]     at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
    [javac]     at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
    [javac]     at com.sun.tools.javac.main.Main.compile(Main.java:523)
    [javac]     at com.sun.tools.javac.main.Main.compile(Main.java:381)
    [javac]     at com.sun.tools.javac.main.Main.compile(Main.java:370)
    [javac]     at com.sun.tools.javac.main.Main.compile(Main.java:361)
    [javac]     at com.sun.tools.javac.Main.compile(Main.java:56)
    [javac]     at com.sun.tools.javac.Main.main(Main.java:42)

REGRESSION.  Last worked in version 8u25


REPRODUCIBILITY :
This bug can be reproduced rarely.


Comments
This is a duplicate of jdk-8057800.
08-01-2015