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

merlin b45, 1.4.0+ and 1.4.1+: "Couldn't flush system prefs..." thrown

XMLWordPrintable

    • beta
    • generic, x86, sparc
    • generic, linux, solaris_1, solaris_2.6, solaris_7
    • Verified

      Please see the Comments area and Evaluation for the latest update. The bug is still in 1.4.1+ and 1.4.0+ releases.

      ###@###.### 2003-01-08
      ======================================================================
      Run the attached test, when finish, close window, the following message is thrown, and it continues, until you explicitly kill the process:

      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.



      ingrid.yao@Eng 2001-01-04

      Forte tool group also reports the same problem:
      J2SE Version (please include all output from java -version flag):

      cruella<257> /export/home2/jdk1.4.0/bin/java -version
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
      Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)

      Does this problem occur on J2SE 1.3? Yes / No (pick one)

      No. it works fine with Meriln build 44.

      Operating System Configuration Information (be specific):

      uname: SunOS cruella 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-60
      uptime: 12:37pm up 55 day(s), 2:12, 2 users, load average: 0.02, 0.11, 0.31

      Hardware Configuration Information (be specific):

      model: SUNW,Ultra-60
      memory: Memory size: 512 Megabytes
      cpu: 2 at 360 MHz,

      Bug Description:





      Steps to Reproduce (be specific):


          1. Download FFJ Community Edition from:
      http://edist.central/edist-cgi/showtool.cgi?tool=Forte+for+Java&version=2.0
      (Download the file: forte_ce_2.class)

          2. Install it
           /usr/j2se/bin/java forte_ce_2
      <InstallShield starts... do the obvious>

          3. Assuming you have a jdk 1.3 available at /usr/j2se, you should be able
           to just start it up with no errors:
           ./forte4j/bin/runide.sh
          
          4. Run it with 1.4 b46 as follows:
              ./forte4j/bin/runide.sh -jdkhome /export/home2/jdk1.4.0
          
           And you get a raft of exceptions, look at file:
           ./forte4j/system/ide.log

      *********** Exception occurred ************

      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      Exception in thread "main" java.lang.InternalError
              at sun.misc.ClassReflector$2.run(ClassReflector.java:1072)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.misc.ClassReflector.createClassReflector(ClassReflector.java:1055)
              at sun.misc.ClassReflector.getClassReflector(ClassReflector.java:1043)
              at sun.misc.ClassReflector.access$100(ClassReflector.java:27)
              at sun.misc.ClassReflector$Factory.getClassReflector(ClassReflector.java:87)
              at java.io.ObjectStreamClass.validateClass(ObjectStreamClass.java:384)
              at java.io.ObjectStreamClass.initNonProxyDesc(ObjectStreamClass.java:302)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1373)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1288)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1373)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1288)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1489)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
              at org.netbeans.core.NbProjectOperation.openOrCreateProject(NbProjectOperation.java:172)
              at org.netbeans.core.NonGui.run(NonGui.java:400)
              at org.netbeans.core.Main.run(Main.java:191)
              at org.openide.TopManager.initializeTopManager(TopManager.java:120)
              at org.openide.TopManager.getDefault(TopManager.java:81)
              at org.netbeans.core.Main.main(Main.java:275)

          

            jjb Josh Bloch
            mtiensunw Minchi Tien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: