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

java.util.prefs: NPE thrown by dispatch thread on applet exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta
    • generic
    • generic
    • Verified

      I'm seeing the following NPE when running almost any of the demo applets in a
      build that integrates the latest Merlin and TL changes:

        % /java/jdk/bin/jdkx -b /w/int/build/prefs-bug demo ArcTest
        /w/int/build/prefs-bug/bin/java sun.applet.AppletViewer file:/w/int/build/prefs-bug/demo/applets/ArcTest/example1.html
        java.lang.NullPointerException
      at java.util.prefs.AbstractPreferences$1.run(AbstractPreferences.java:1296)
        %

      This appears to be thrown by the preferences dispatch thread.

      Build location: /net/naskeag.eng/u/ws/int/build/prefs-bug

      -- mr@eng 2000/12/14

            jjb Josh Bloch (Inactive)
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: