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 66986 - NPE from DocumentLine$Part.limitLength
Summary: NPE from DocumentLine$Part.limitLength
Status: RESOLVED DUPLICATE of bug 77572
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: RANDOM
: 67779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-17 18:35 UTC by Jesse Glick
Modified: 2008-12-22 17:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (1.32 KB, text/plain)
2005-10-17 18:36 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-10-17 18:35:24 UTC
Mustang, dev 051014. CloneableEditorSupport.getDocument() is apparently
returning null (as it is permitted to do) and DocumentLine is not handling that
case.
Comment 1 Jesse Glick 2005-10-17 18:36:49 UTC
Created attachment 26039 [details]
Stack trace
Comment 2 Petr Nejedly 2005-10-18 09:15:38 UTC
Any steps to reproduce?
Obviously a race condition, as the code was running inside document's readLock
(i.e. document existed). I guess you were closing the editor in the middle of
parsing/annotation processing.

Caused by fix of #35184
Comment 3 Petr Nejedly 2005-10-31 16:10:10 UTC
*** Issue 67779 has been marked as a duplicate of this issue. ***
Comment 4 Petr Nejedly 2006-06-27 16:14:12 UTC

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