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 89708 - AIOOBE from DocumentContent.copySpanChars
Summary: AIOOBE from DocumentContent.copySpanChars
Status: RESOLVED DUPLICATE of bug 100239
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-11-20 22:13 UTC by Jesse Glick
Modified: 2007-08-01 11:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (926 bytes, text/plain)
2006-11-20 22:14 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-11-20 22:13:47 UTC
061120, JDK 6. Working on ModuleManagerTest.java. Occurred at the same time as
issue #89707 but not sure if they are related.
Comment 1 Jesse Glick 2006-11-20 22:14:22 UTC
Created attachment 36151 [details]
Stack trace
Comment 2 Vitezslav Stejskal 2007-03-20 02:56:28 UTC
Is it reproducible?
Comment 3 Jesse Glick 2007-03-21 01:58:09 UTC
Surely not.
Comment 4 Miloslav Metelka 2007-03-21 17:54:28 UTC
This diff side bar is missing a document read lock leading to this inconsistency.
Reassigning to versioncontrol. Please use
 Document.render()
 or
 AbstractDocument.readLock(); try { ... } finally { AD.readUnlock(); }
 around all accesses to document's text.
Comment 5 Maros Sandor 2007-08-01 11:06:47 UTC

*** This issue has been marked as a duplicate of 100239 ***