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 143720 - Deadlock after invoking code completion
Summary: Deadlock after invoking code completion
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2008-08-13 09:16 UTC by josin
Modified: 2009-05-18 10:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NB messages log (77.78 KB, text/plain)
2008-08-13 09:16 UTC, josin
Details
Full thread dump log (19.90 KB, text/plain)
2008-08-13 09:17 UTC, josin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description josin 2008-08-13 09:16:25 UTC
Product Version: NetBeans IDE 6.5 Beta (Build 200808111757)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/josin/.netbeans/6.5beta

I found deadlock after invoking code completion dialog. Messages log and thread dump is attached.
Comment 1 josin 2008-08-13 09:16:54 UTC
Created attachment 67216 [details]
NB messages log
Comment 2 josin 2008-08-13 09:17:33 UTC
Created attachment 67217 [details]
Full thread dump log
Comment 3 Marek Fukala 2008-08-13 14:24:25 UTC
This doesn't look like a deadlock, the AWT is busy with text reformatting. I would guess the CPU was busy with the
document reformattin for longer time and the UI frozen so you thought the ide is locked.

My questions - can you reproduce it? If so can you specify how? Was the document large? Could you attach it please?

Thanks.
Comment 4 josin 2008-08-13 15:42:52 UTC
Ok, you're an expert. It is reproducible on Ubuntu 8.04, Win Vista, WinXP.

There are simplified steps to reproduce:
 * Use word completion as much as possible.
 * Create new WebApplication with JavaServer Faces framework
 * In welcomeJSF file body new <h:form />
 * In created form create h:inputText id="a" label="A" value="#{Bean.a}" />. For each attribute use word-completion.
 * Create h:inputText id="b" label="B" value="#{Bean.b}" />
 * I have never complete second inputText before freeze.
Comment 5 Marek Fukala 2008-08-21 11:18:24 UTC
works for me, can someone form QE try to reproduce please?
Comment 6 josin 2008-08-21 12:43:57 UTC
Product Version: NetBeans IDE Dev (Build 200808210201)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)

It's ok now, but I don't know where was it fixed, but not reproducible anymore. Changing status to fixed, feel free to
reopen.
Comment 7 josin 2008-09-30 08:38:59 UTC
Seems to be ok. V.

Product Version: NetBeans IDE Dev (Build 200809300201)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)