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 270854 - NullPointerException at org.netbeans.api.editor.caret.EditorCaret.maybeSaveCaretOffset
Summary: NullPointerException at org.netbeans.api.editor.caret.EditorCaret.maybeSaveCa...
Status: RESOLVED DUPLICATE of bug 270745
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-11 20:25 UTC by rweaver
Modified: 2017-07-21 09:09 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229420


Attachments
stacktrace (4.99 KB, text/plain)
2017-06-11 20:25 UTC, rweaver
Details
stacktrace (4.99 KB, text/plain)
2017-07-09 20:34 UTC, Maksim Khramov
Details
stacktrace (5.07 KB, text/plain)
2017-07-12 21:28 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rweaver 2017-06-11 20:25:32 UTC
Build: NetBeans IDE Dev (Build 201706080001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Mac OS X

User Comments:
GUEST: Not sure what happened

rweaver: Editing a file




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 rweaver 2017-06-11 20:25:34 UTC
Created attachment 164508 [details]
stacktrace
Comment 2 Maksim Khramov 2017-07-09 20:34:38 UTC
Created attachment 164730 [details]
stacktrace

Perform Undos in java code
Comment 3 Exceptions Reporter 2017-07-09 20:34:42 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229420
Comment 4 Jesse Glick 2017-07-12 21:28:40 UTC
Created attachment 164750 [details]
stacktrace

Reopened a source file and started typing a comment line. Caret moved one line up, stopped accepting input, and exception appeared.
Comment 5 Dusan Balek 2017-07-21 09:09:43 UTC

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