-
Bug
-
Resolution: Fixed
-
P3
-
6
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)
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)
- relates to
-
JDK-6429613 tools/javac/Paths/Diagnostics.sh fails: bad files in extdirs doesn't cause an error
-
- Resolved
-