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

REGRESSION: NPE in com.sun.tools.javac.util.DefaultFileManager.java:272

    Details

    • Subcomponent:
    • Introduced In Build:
      b85
    • Introduced In Version:
      6
    • Resolved In Build:
      b86
    • CPU:
      generic
    • OS:
      generic

      Description

      javac -Xlint -extdirs jars Main.java
      An exception has occurred in the compiler (1.6.0-auto). 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.util.DefaultFileManager.listDirectory(DefaultFileManager.java:272)
      at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:657)
      at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2009)
      at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1725)
      at com.sun.tools.javac.code.Symbol.complete(Symbol.java:383)
      at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:251)
      at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:445)
      at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:215)
      at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:229)
      at com.sun.tools.javac.comp.Enter.complete(Enter.java:423)
      at com.sun.tools.javac.comp.Enter.main(Enter.java:408)
      at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:736)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:643)
      at com.sun.tools.javac.main.Main.compile(Main.java:327)
      at com.sun.tools.javac.main.Main.compile(Main.java:253)
      at com.sun.tools.javac.main.Main.compile(Main.java:244)
      at com.sun.tools.javac.Main.compile(Main.java:69)
      at com.sun.tools.javac.Main.main(Main.java:54)
      Exception in thread "main" java.lang.NullPointerException
      at com.sun.tools.javac.util.DefaultFileManager.close(DefaultFileManager.java:465)
      at com.sun.tools.javac.main.Main.compile(Main.java:247)
      at com.sun.tools.javac.Main.compile(Main.java:69)
      at com.sun.tools.javac.Main.main(Main.java:54)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ahe Peter Ahe
                Reporter:
                ahe Peter Ahe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: