JDK-7047323 : CloseableURLClassLoader throws a NullPointerException
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6u27
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-23
  • Updated: 2011-05-23
  • Resolved: 2011-05-23
Related Reports
Duplicate :  
Description
When running bigApp application, the following Exception was thrown:

java.io.IOException: cannot close class loader
        at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:60)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.close(JavacProcessingEnvironment.java:916)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:738)
        at com.sun.tools.javac.main.Main.compile(Main.java:353)
        at com.sun.tools.javac.main.Main.compile(Main.java:279)
        at com.sun.tools.javac.main.Main.compile(Main.java:270)
        at com.sun.tools.javac.Main.compile(Main.java:69)
        at com.sun.tools.javac.Main.main(Main.java:54)
Caused by: java.lang.NullPointerException
        at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:56)
        ... 7 more