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

Summary: NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Product: platform Reporter: zhushazang
Component: TextAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222409
Attachments: stacktrace

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