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 208399

Summary: [71cat] NullPointerException at org.netbeans.modules.editor.lib2.view.ParagraphView.updateLayoutAndScheduleRepaint
Product: editor Reporter: alied <alied>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185069
Attachments: stacktrace

Description alied 2012-02-14 15:49:28 UTC
Build: NetBeans IDE Dev (Build 201202140400)
VM: Java HotSpot(TM) Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows XP

User Comments:
alied: [Background Scanning test]
Step 3:
-opened previous userdir.
-while project scanning, invoked CC, navigation (Ctrl+click), ok. (CC correctly warns this result might be inacurate due to scanning still in progress)
-Everything seems to be ok except for this exception.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.ParagraphView.updateLayoutAndScheduleRepaint(ParagraphView.java:278)
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.ensureParagraphsChildrenAndLayoutValid(DocumentViewChildren.java:527)
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.paint(DocumentViewChildren.java:554)
   at org.netbeans.modules.editor.lib2.view.DocumentView.paint(DocumentView.java:703)
   at org.netbeans.modules.editor.lib2.view.EditorView.paint(EditorView.java:162)
   at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1436)
Comment 1 alied 2012-02-14 15:49:31 UTC
Created attachment 115712 [details]
stacktrace
Comment 2 Miloslav Metelka 2012-06-13 20:36:56 UTC
I cannot reproduce the problem. There were several bugfixes that might eliminate the issue (fix of issue #213116 might also make this problem no longer happening). If the issue would persist please reopen the issue.