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.
1. Open an existing NetBeans 5.0 project 2. Right click on the project in the Projects window on the LHS and select the Properties menu item 3. The Project Properties dialog box comes up 4. Select the Compile option in the LHS tree view 5. Select the CompileTime tab on the RHS 6. Select the Add JARfile/folder button on the RHS 7. IDE freezes. The Windows Task Manager shows that "java.exe" is using between 90-100% of the system. The overall PC response is very sluggish after this. The IDe freeze persists for over 15 minutes, and I never waited long enough to see if unfreezes later. No other applications are running on the PC. I repeated these steps more than 10 times, with same results. Now how do I ever get to add an external JAR file library to my project?
Sorry, typo in the steps reported earlier. The changed descriptions are: 4. Select the Libraries option in the LHS tree view 5. Select the Compile tab on the RHS -jgjp
Can you attach IDE log file and some thread dumps?
I am not able to reproduce issue in NetBeans 5.0 fcs nor in current builds of 2006/07/11. Could you please provide more information. Does this issue appear only with specific project and .jar or is it reproducible at any project (what .jar file are you adding as a library)? Thanks, .JARa
More information after further testing: Here are the prerequisites for the problem to happen: 1. Install Netbeans 5.0 as Administrator [on a WindowsXP machine]. 2. Login as a user without administrative priveleges. 3. Launch Netbeans. 4. Follow the steps outlined above. Result is the IDE freeze. Actually, after Step 3 above, all the following steps result in a IDE freeze: (a) Create a new Project and select the button for adding a Source Root folder (b) For an existing Project, add a new folder containing a class library [JAR file with source and docs] (c) For an existing Project, add a new JAR file [what I reported in the original report]. The Netbeans log file does not give any new information, since apparently the log is not updated due to IDE freeze. It only contains the standard initialization stuff stored after successful startup of Netbeans. IMPORTANT: In my machine, if I login as Administrator and launch Netbeans, the problems DO NOT occur. I can create new projects and add libraries and JAR files merrily without trouble. Hope this helps. -jgjp
reporter: Please could you attach the thread-dump after the freeze of the IDE (see http://qa.netbeans.org/bugzilla/generating-thread-dumps.html ) ? Thanks in advance.
Hi, most probably duplicate of issue #72437 caused by JDK bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6317789 Please see issue #72437 and the JDK bug for possible workarounds or upgrade to JDK1.6. Please reopen if you have a thread dump that proves that this issue is different from issue #72437. Thanks. *** This issue has been marked as a duplicate of 72437 ***