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 204138

Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.viewIndexFirstByStartOffset
Product: editor Reporter: lucian303
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cross1001
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181712
Attachments: stacktrace

Description lucian303 2011-10-24 07:09:43 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3425
OS: Mac OS X

User Comments:
GUEST: opening a php file

GUEST: I was typing PHP code. This error occurs randomly. No type completion was invoked.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.viewIndexFirstByStartOffset(DocumentViewChildren.java:248)
   at org.netbeans.modules.editor.lib2.view.DocumentView.getViewIndex(DocumentView.java:327)
   at org.netbeans.modules.editor.lib2.view.ViewHierarchyImpl.modelToParagraphView(ViewHierarchyImpl.java:284)
   at org.netbeans.modules.editor.lib2.view.LockedViewHierarchy.modelToParagraphView(LockedViewHierarchy.java:124)
   at org.netbeans.editor.GlyphGutter$6.run(GlyphGutter.java:655)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1404)
Comment 1 lucian303 2011-10-24 07:09:47 UTC
Created attachment 112358 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-12-02 13:46:26 UTC

*** This bug has been marked as a duplicate of bug 202774 ***