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 270762

Summary: NullPointerException at org.netbeans.api.editor.caret.EditorCaret.maybeSaveCaretOffset
Product: editor Reporter: muellermi <muellermi>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: muellermi
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229308
Attachments: stacktrace
stacktrace

Description muellermi 2017-05-29 15:11:07 UTC
Build: NetBeans IDE Dev (Build 201705280001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: Windows 7

User Comments:
muellermi: just after sending report




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.editor.caret.EditorCaret.maybeSaveCaretOffset(EditorCaret.java:1071)
   at org.netbeans.api.editor.caret.EditorCaret.paint(EditorCaret.java:1135)
   at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:742)
   at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)
   at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)
   at javax.swing.JComponent.paintComponent(JComponent.java:780)
Comment 1 muellermi 2017-05-29 15:11:09 UTC
Created attachment 164431 [details]
stacktrace
Comment 2 muellermi 2017-06-26 09:01:32 UTC
Created attachment 164629 [details]
stacktrace

click into editor
Comment 3 Dusan Balek 2017-07-21 09:11:02 UTC

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