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.

Bug 104459

Summary: Deadlock or infinite loop in javascript codecompletion
Product: javascript Reporter: _ pcw <pcw>
Component: EditorAssignee: issues@ide <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: ludo
Priority: P1    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: ide thread stack dump

Description _ pcw 2007-05-22 00:39:38 UTC
create a new js file

type //sdfsdfsdf<enter>
try to also add
/*foo
*/
or trigger code completion 
(make sure there is a comment and no js statements...

You'll get the IDE to hang.
Initially Ludo was thinking it is due to Phobos code completion, but it is
reproducible without Phobos.
Comment 1 _ pcw 2007-05-22 00:40:09 UTC
Created attachment 42626 [details]
ide thread stack dump
Comment 2 Jan Jancura 2007-05-23 13:11:29 UTC
fixed in trunk:
IDE: [5/23/07 2:11 PM] Committing "JavaScript.java" started
Checking in JavaScript.java;
/cvs/scripting/javascript/src/org/netbeans/modules/languages/javascript/JavaScript.java,v
 <--  JavaScript.java
new revision: 1.54; previous revision: 1.53
done
IDE: [5/23/07 2:11 PM] Committing "JavaScript.java" finished
Comment 3 Jan Jancura 2007-07-13 11:14:53 UTC
*** Issue 104497 has been marked as a duplicate of this issue. ***
Comment 4 Radim Roska 2007-08-07 10:01:50 UTC
VERIFIED