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.
Build: NetBeans IDE 8.2 (Build 201609230201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13 OS: SunOS User Comments: soldatov: Stable exception in NetBeans 8.2 If current file is 'testList.fail.00000' I see exception instead of "New Breakpoint" window Stacktrace: java.lang.NullPointerException at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1644) at javax.swing.text.JTextComponent$AccessibleJTextComponent.getCaretPosition(JTextComponent.java:2812) at javax.swing.text.JTextComponent$AccessibleJTextComponent.<init>(JTextComponent.java:2513) at javax.swing.JEditorPane$AccessibleJEditorPane.<init>(JEditorPane.java:1644) at javax.swing.JEditorPane.getAccessibleContext(JEditorPane.java:1624) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointPanel.initA11y(BreakpointPanel.java:938)
Created attachment 163970 [details] stacktrace
I see this exception in Oracle Developer Studio too Scenario: - Create C/C++ Project - Create testList.fail.00000 file - Set cursor in any line in file - Push Debug|New Breakpoint menu item ==> NullPointerException
fixed in enum/release82 changeset: 314926:49c3c92ff011 branch: release82 tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Wed Mar 29 15:31:27 2017 +0300 summary: fixed bz#270241 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/01fb4b857059 User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#270241 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition (transplanted from 49c3c92ff01187cc64e009d749e8ad9cd23feca6)
https://netbeans.org/bugzilla/show_bug.cgi?id=270241 Changesets: http://hg.netbeans.org/releases/rev/49c3c92ff011 # fixed bz#270241 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Verified in NetBeans IDE 8.2 (Build 201704181436)