This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
S1S 4.1(020901 build) produces a lot of warnings to console. May be this is symtom of some problem, because with early S1S4.1 builds all was OK. Steps to reproduce: 1)Remove ~/ffjuser40ee/ 2)Start IDE Warnings is similar to(See also attached ide.log for details): -------------------- kSOAP Runtime [org.ksoap/1 1.0 kSOAP release 1.0] Sep 6, 2002 2:14:38 PM java.util.prefs.FileSystemPreferences checkLockFile0Error Code WARNING: Could not lock System prefs.Unix error code 1245905888. Sep 6, 2002 2:14:38 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Cou ldn't get file lock. Type Groups Level Module Name ---- ------ ----- ----------- err * 255 * (Default) Sep 6, 2002 2:15:00 PM java.util.prefs.FileSystemPreferences checkLockFile0Error Code WARNING: Could not lock System prefs.Unix error code 1245905888. Sep 6, 2002 2:15:00 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Cou ldn't get file lock. Sep 6, 2002 2:15:30 PM java.util.prefs.FileSystemPreferences checkLockFile0Error Code WARNING: Could not lock System prefs.Unix error code 1245905888. Sep 6, 2002 2:15:30 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Cou ldn't get file lock. ------------------------- Well reproduced with S1S4.1 build 020901 under RH7.3
Created attachment 7340 [details] IDE.log
those warnings come from the JDK itself not the IDE
I agree that these warnings come from the JDK. However, this has to be do to something that the IDE is doing. We really need to determine the root cause within the IDE. These warnings did not occur during Orion, but are now occurring in Sierra. So, this is a regression and causes problems for the user because it creates so many warning messages that the IDE log becomes almost unusable. This happens under Linux and Solaris.
That should be "this has to be due to something ..."
I am not able to reproduce this on Solaris and JDK 1.4.0, see below for my system info. I wonder whether this may be because of a slightly different JDK version. Alexei, I saw that you are using JDK 1.4.0_02, can you please try in an earlier version (1.4.0) or a later version (1.4.1 RC) ? Thanks. ----------------------------------------------------- Product Version = Sun ONE Studio 4 update 1, Enterprise Edition (Preview) (Build 020907_1) IDE Versioning = IDE/1 spec=1.43.3.1 impl=020907_1 Operating System = SunOS version 5.8 running on sparc Java; VM; Vendor = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; Sun Microsystems Inc. Java Home = /usr/j2sdk1.4.0/jre System Locale; Encod. = en; ISO646-US (f4j_ee) Home Dir; Current Dir = /home/pj97932; /home/pj97932/sierra020907_1_ee/bin IDE Install; User Dir = /home/pj97932/sierra020907_1_ee; /home/pj97932/ffjuser40e e
This bug is not reproduced for me under Solaris 8 with JDK 1.4.0_02, 1.4.0_b92 and 1.4.1. But it is well reproduced under RH Linux 7.3 with JDK 1.4.0_02, 1.4.1. With jdk 1.4.0-b92 under RH7.3 all works well.
This is a direct consequence of JDK bug 4729636. This bug is not specific to the IDE, but is reproducible with many other Java applications on JDK 1.4.0_02 or 1.4.1rc. So this is a regression against prior releases, introduced probably by the fix for bug 4532628. According to the evaluation in the JDK bug entry this issue is not very harmful, so I suggest we just live with it for Sierra. Alternatively, we can escalate it with the JDK team.
I meant "regressions against prior releases of JDK" - this has nothing to do with the IDE and is not related to any change in the IDE code.
Jiricka's evaluation is correct. This is a problem of the JDK, or to be specific its impl of Preferences API on Linux. I closed this bug as INVALID. Please refile it against the JDK
*** Issue 26978 has been marked as a duplicate of this issue. ***
Well. Closed.