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.
I tried to search for "Compile" and combo shows "Searching" item forever. See screenshot. Fresh trunk build. Product Version: NetBeans IDE Dev (Build 081001) Java: 1.5.0_16; Java HotSpot(TM) 64-Bit Server VM 1.5.0_16-b02 System: Linux version 2.6.25.16-0.1-default running on amd64; UTF-8; en_US (nb)
Hmm, this is not reproducible on my machine :(
Did you really try Compile?
Yes
I recall that from time to time, code in Help provider didn't return from searching sooner than after say 40 seconds. But I never could find reliable way how to reproduce it. Anyway passing to Standa, help provider author. I see you have 64 bit system - that may be root of the case, if you are able to reproduce always, then we could put in some logging...
Help provider never gives me any result for "Compile on Save"
Is it still reproducible with latest builds? It works for me well.
Java help evaluator is slow or broken, at least for me. If I try several searches on my machine, few of them hangs for several minutes. It slows down whole quick search infrastructure. Attached jstack dump.
Created attachment 102192 [details] jstack dump
Is there a way to reproduce this bug? I can't reproduce it on my box in x86 mode Product Version: NetBeans IDE 6.9.1 (Build 201007282301) Java: 1.6.0_19; Java HotSpot(TM) Client VM 16.2-b04 System: Windows Vista version 6.0 running on x86; Cp1251; ru_RU (nb) nor x64 mode Product Version: NetBeans IDE 6.9.1 (Build 201007282301) Java: 1.6.0_21; Java HotSpot(TM) 64-Bit Server VM 17.0-b17 System: Windows Vista version 6.0 running on amd64; Cp1251; ru_RU (nb)
Seems a cause of this bug are interrupts and spurious wakeups that are possible on a Java platform, and also nonobservance of the Java specification for the method wait() in the class org.netbeans.modules.javahelp.JavaHelpQuery where a cycle "while (<condition does not hold>)" has not been used.
Fixed in the main trunk http://hg.netbeans.org/main/rev/6139aaf2da6d
seems to work. Thanks!