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

NPE from DeleteOnExitHook.add

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • core-libs
    • x86
    • linux

      I was running an Ant build on JDK 6 from bash and pressed Ctrl-C to stop it. It stopped, but also printed a stack trace:

      java.lang.NullPointerException
      at java.io.DeleteOnExitHook.add(DeleteOnExitHook.java:34)
      at java.io.File.deleteOnExit(File.java:939)
      ...Ant code...

            chegar Chris Hegarty
            jglick Jesse Glick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: