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 - NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.viewIndexFirstByStartOffset
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentViewChi...
Status: RESOLVED DUPLICATE of bug 202774
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 04:03 UTC by ivix
Modified: 2011-10-06 07:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181481


Attachments
stacktrace (3.40 KB, text/plain)
2011-10-06 04:03 UTC, ivix
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***