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.
Steps I had made before the deadlock occurred 1. created a java application project 2. opened the project properties, libraties pane 3. tried to register a new JDK 1.6 platform 4. deadlock occurred after I entered the platform location and pressed next
Created attachment 27049 [details] thread dump
One more note, it looks like the CPU usage is 100%..
I am not able to reproduce it. In the step 4 you say that the dead lock occurred after selecting the platform folder and pressing the next button. In the thread dump it seems that you already pressed finish button. Didn't you? It seems as a FolderInstance problem.
Problem in XMLDataObject.
Thanks Jardo, I've alredy got into the XMLDataObject.getCookie(), but I've no idea what the getIP() is doing :-)
> In the thread dump it seems that you already pressed finish button. Didn't you? I've just rechecked it and yes, I did press the finish button. I am sorry for confusing. It seems that it is 100% reproducible on my machine.
*** Issue 68860 has been marked as a duplicate of this issue. ***
Please enable logging: -J-Dorg.openide.loaders.XMLDataObject=-1 and attach log here, if you can reproduce the problem all the time. Thanks.
Created attachment 27075 [details] message log
Yarda, I am able to reproduce it (100%), I'll attach the log from logging -J-Dorg.openide.loaders.XMLDataObject=-1
Created attachment 27076 [details] Log from the locked IDE
Caused by changes made to fix bug 66438
The changes that are related to #66438 not only cause deadlocks but also significantly slows down popup menu on XML DO. XMLDO.getCookie() calls getIP() and XMLDO$InfoParser.lookupCookie() heavily and repeatedly scans the document.
"#68934: Breaking the endless loop in parseId, the performance shall improve as well (at least it seems to me)" openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetCookieTest.java openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetNoCookieTest.java openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectLifeLock68934Test.java openide/loaders/src/org/openide/loaders/XMLDataObject.java openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetCookieTest.java Checking in openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetCookieTest.java; /cvs/openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetCookieTest.java,v <-- XMLDataObjectGetCookieTest.java new revision: 1.2; previous revision: 1.1 done RCS file: /cvs/openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetNoCookieTest.java,v done Checking in openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetNoCookieTest.java; /cvs/openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectGetNoCookieTest.java,v <-- XMLDataObjectGetNoCookieTest.java initial revision: 1.1 done RCS file: /cvs/openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectLifeLock68934Test.java,v done Checking in openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectLifeLock68934Test.java; /cvs/openide/loaders/test/unit/src/org/openide/loaders/XMLDataObjectLifeLock68934Test.java,v <-- XMLDataObjectLifeLock68934Test.java initial revision: 1.1 done Checking in openide/loaders/src/org/openide/loaders/XMLDataObject.java; /cvs/openide/loaders/src/org/openide/loaders/XMLDataObject.java,v <-- XMLDataObject.java new revision: 1.23; previous revision: 1.22
verified in NB5.0(200511211900)
*** Issue 69083 has been marked as a duplicate of this issue. ***