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 253515 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Summary: NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: ASM (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 09:29 UTC by Alexander Simon
Modified: 2015-09-09 01:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218576


Attachments
stacktrace (2.64 KB, text/plain)
2015-07-16 09:29 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-07-16 09:29:51 UTC
Build: Oracle Solaris Studio Dodona (2015/07/16 ff05aff29fa2)
VM: Java HotSpot(TM) Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: SunOS

User Comments:
alexvsimon: debug firefox by gdb




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1693)
   at org.netbeans.modules.cnd.asm.core.assistance.RegisterHighlightAssistance.update(RegisterHighlightAssistance.java:100)
   at org.netbeans.modules.cnd.asm.core.assistance.RegisterHighlightAssistance.notifyParsed(RegisterHighlightAssistance.java:131)
   at org.netbeans.modules.cnd.asm.core.editor.AsmModelAccessorImpl.fireParsed(AsmModelAccessorImpl.java:150)
   at org.netbeans.modules.cnd.asm.core.editor.AsmModelAccessorImpl.access$700(AsmModelAccessorImpl.java:77)
   at org.netbeans.modules.cnd.asm.core.editor.AsmModelAccessorImpl$ReparseTask.run(AsmModelAccessorImpl.java:179)
Comment 1 Alexander Simon 2015-07-16 09:29:53 UTC
Created attachment 154673 [details]
stacktrace
Comment 2 danilasergeyev 2015-09-08 12:13:19 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/48f264e3523f
Comment 3 Quality Engineering 2015-09-09 01:22:55 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/48f264e3523f
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #253515 NullPointerException at javax.swing.text.JTextComponent.getCaretPosition