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

Summary: NullPointerException in NbDocument$DocumentRenderer.renderToInt
Product: platform Reporter: rfongtrpz <rfongtrpz>
Component: TextAssignee: Petr Nejedly <pnejedly>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: log

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