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 71170 - Deadlock after IDE restart
Summary: Deadlock after IDE restart
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-01-09 10:11 UTC by Jiri Skrivanek
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (10.92 KB, text/plain)
2006-01-09 10:12 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-01-09 10:11:54 UTC
A deadlock appered when I restarted IDE with some files opened in editor. But I
can't reproduce it anymore.

Build 20060109-0026, JDK1.5.0_06, WindowsXP.
Comment 1 Jiri Skrivanek 2006-01-09 10:12:22 UTC
Created attachment 28302 [details]
Thread dump
Comment 2 Martin Roskanin 2006-01-09 11:55:16 UTC
Problem:
...
at javax.swing.text.JTextComponent.modelToView(JTextComponent.java:1148)
	at
org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:222)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:510)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:943)


The JTextComponent.modelToView must run in EDT.


Did you reproduced it in NB 5.1 or NB 5.0?
The stacktrace is not valid for NB 5.0 sources.
Comment 3 Jiri Skrivanek 2006-01-09 12:00:07 UTC
It was build 20060109-0026 of NB5.1. I forgot to change version field.
Comment 4 Martin Roskanin 2006-01-09 14:33:15 UTC
fixed in [maintrunk]

/cvs/editor/hints/src/org/netbeans/modules/editor/hints/HintsOperator.java,v 
<--  HintsOperator.java
new revision: 1.10; previous revision: 1.9
Comment 5 Jiri Skrivanek 2006-01-10 13:31:55 UTC
Verified.