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 203186

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

Description ivix 2011-10-06 04:03:35 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: OpenJDK Client VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_22-b22
OS: Linux

User Comments:
GUEST: control Z ?

GUEST: ???????? ?????? PHP

troodon: editing php file

GUEST: just copy & paste items from and to the opened file




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 ivix 2011-10-06 04:03:39 UTC
Created attachment 111571 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-10-06 07:28:01 UTC

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