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 93481 - NullPointerException in NbDocument$DocumentRenderer.renderToInt
Summary: NullPointerException in NbDocument$DocumentRenderer.renderToInt
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-29 22:26 UTC by rfongtrpz
Modified: 2008-12-22 11:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (42.41 KB, application/octet-stream)
2007-01-29 22:26 UTC, rfongtrpz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rfongtrpz 2007-01-29 22:26:09 UTC
I was using ctrl+w to close several document windows.  After closing about 3
documents I got this exception.
Comment 1 rfongtrpz 2007-01-29 22:26:40 UTC
Created attachment 37791 [details]
log
Comment 2 Vitezslav Stejskal 2007-02-01 07:13:29 UTC
It might not be a problem in openide/text, but that's where the exception came from.
Comment 3 Petr Nejedly 2007-02-01 15:50:52 UTC
This was a race condition in the PositionRef$Manager, which is really not
preprared for threading...
Comment 4 Jaroslav Tulach 2007-10-18 12:59:37 UTC
NPE is now prevented in NbDocument, rev. 1.7 - in such case the method returns 0