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 257950 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Summary: NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 17:20 UTC by zhushazang
Modified: 2016-02-11 17:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222409


Attachments
stacktrace (4.01 KB, text/plain)
2016-02-11 17:20 UTC, zhushazang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zhushazang 2016-02-11 17:20:06 UTC
Build: NetBeans IDE 8.1 (Build 0.8.10)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Linux

User Comments:
GUEST: ?

GUEST: debuggin.

zhushazang: Just openning netbeans...




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1693)
   at javax.swing.text.JTextComponent$AccessibleJTextComponent.getCaretPosition(JTextComponent.java:2861)
   at javax.swing.text.JTextComponent$AccessibleJTextComponent.<init>(JTextComponent.java:2562)
   at javax.swing.JEditorPane$AccessibleJEditorPane.<init>(JEditorPane.java:1643)
   at javax.swing.JEditorPane.getAccessibleContext(JEditorPane.java:1623)
   at org.openide.text.QuietEditorPane.getAccessibleContext(QuietEditorPane.java:134)
Comment 1 zhushazang 2016-02-11 17:20:08 UTC
Created attachment 158465 [details]
stacktrace