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 198581 - NullPointerException at javax.swing.plaf.basic.BasicTextUI.modelToView
Summary: NullPointerException at javax.swing.plaf.basic.BasicTextUI.modelToView
Status: RESOLVED DUPLICATE of bug 197857
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 11:53 UTC by Alexander Pepin
Modified: 2011-05-24 14:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178838


Attachments
stacktrace (1.79 KB, text/plain)
2011-05-13 11:53 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2011-05-13 11:53:09 UTC
Build: NetBeans IDE Dev (Build 201105130000)
VM: OpenJDK 64-Bit Server VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
apepin: - open a big source file with "overridden" annotations
- close the file
NPE appears




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1044)
   at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1027)
   at org.netbeans.editor.BaseTextUI.getYFromPos(BaseTextUI.java:337)
   at org.netbeans.editor.GlyphGutter.changedLine(GlyphGutter.java:615)
   at org.netbeans.editor.Annotations.fireChangedLine(Annotations.java:640)
   at org.netbeans.editor.Annotations.refreshLine(Annotations.java:560)
Comment 1 Alexander Pepin 2011-05-13 11:53:13 UTC
Created attachment 108269 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-05-24 14:37:48 UTC

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