JDK-4403228 : Merlin: NetBeans/Forte tools does not work with JDK1.4
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 2001-01-09
  • Updated: 2001-01-10
  • Resolved: 2001-01-10
Related Reports
Duplicate :  
Relates :  
Description
ingrid.yao@Eng 2001-01-09
---------------------------

Having problem to bring up NetBeans/Forte tool by using Merlin build 46:

J2SE Version (please include all output from java -version flag):
  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.

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,

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)


When you bring up NetBeans/Forte tools with Merlin build 44, it is
better, but still not useful. NetBeans comes up without exceptions, 
but some controls are missing (!) from the gui, and if you for instance 
try to bring up a right-ckick menu, the whole things dies without a 
trace or exception.  Profiling seems to work though. 

request more test cases from NetBeans group.


Comments
EVALUATION java.util.prefs.BackingStoreException: Couldn't get file lock is a dupe of bug 4398496 andrew.bennett@eng 2001-01-10
10-01-2001