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 13885 - Editor document is never opened for a file, causes deadlock
Summary: Editor document is never opened for a file, causes deadlock
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-24 16:50 UTC by Jan Lahoda
Modified: 2008-12-23 13:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2001-07-24 16:50:17 UTC
This bug was found during investigating bug:
http://openide.netbeans.org/issues/show_bug.cgi?id=13882

Platform spec: JDK1.4, build b72 (probably doesn't care).
IDE dev. 200107230100.

Steps to reproduce:
1. Create some java class.
2. Close editor
3. Click on the node in explorer and select Add Breakpoint (Ctrl+Shift+F8)
4. Open the java class in editor
After this sequence, editor for appropriate file is empty. Full thread dump of
this situation is attached. This situation probably continues forever.
5. Close the editor.
Deadlock occurs (attached).
Comment 1 David Konecny 2001-07-24 17:05:01 UTC
I can comment one line to fix the problem, but I would like to find 
some better solution. Give me some time, please.
Comment 2 David Konecny 2001-07-25 15:07:19 UTC
Fixed in file:
src/org/openide/text/PositionRef.java
new revision: 1.35; previous revision: 1.34
Comment 3 Marian Mirilovic 2001-12-04 14:03:45 UTC
verified in [nb_release33](200112040330)
Comment 4 Marian Mirilovic 2002-01-30 15:10:35 UTC
[Jumbo_Patch 3.2]

IndexOutOfBoundsException arise again on FFJ3.0  with JP3.2. 

IMHO :
This issue cause impossibility to save file which you were open ->
data lost!

By the way , this one is the same as issue 16696.
Comment 5 Marian Mirilovic 2002-01-30 15:28:04 UTC
Note, last comment is for sustaining team only.
Comment 6 Quality Engineering 2003-07-01 16:22:28 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.