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 193545 - NullPointerException at javax.swing.plaf.basic.BasicTextUI.viewToModel
Summary: NullPointerException at javax.swing.plaf.basic.BasicTextUI.viewToModel
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
: 193555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-17 11:40 UTC by rmartins
Modified: 2010-12-18 06:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175110


Attachments
stacktrace (2.32 KB, text/plain)
2010-12-17 11:40 UTC, rmartins
Details
stacktrace (2.32 KB, text/plain)
2010-12-17 15:23 UTC, misterm
Details
stacktrace (2.32 KB, text/plain)
2010-12-17 15:32 UTC, misterm
Details
stacktrace (2.32 KB, text/plain)
2010-12-17 17:41 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rmartins 2010-12-17 11:40:43 UTC
Build: NetBeans IDE Dev (Build cnd-main-4796-on-101216)
VM: Java HotSpot(TM) Client VM, 20.0-b01, Java(TM) SE Runtime Environment, 1.7.0-ea-b114
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1103)
   at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1076)
   at javax.swing.text.JTextComponent.viewToModel(JTextComponent.java:1449)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.keyPressed(HyperlinkOperation.java:385)
   at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
   at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
Comment 1 rmartins 2010-12-17 11:40:46 UTC
Created attachment 104204 [details]
stacktrace
Comment 2 misterm 2010-12-17 15:23:20 UTC
Created attachment 104215 [details]
stacktrace
Comment 3 misterm 2010-12-17 15:32:19 UTC
Created attachment 104216 [details]
stacktrace
Comment 4 misterm 2010-12-17 17:41:49 UTC
Created attachment 104221 [details]
stacktrace
Comment 5 Jan Lahoda 2010-12-17 18:56:01 UTC
*** Bug 193555 has been marked as a duplicate of this bug. ***
Comment 6 Jan Lahoda 2010-12-17 19:27:28 UTC
http://hg.netbeans.org/jet-main/rev/49253d45c77e
Comment 7 Quality Engineering 2010-12-18 06:08:58 UTC
Integrated into 'main-golden', will be available in build *201012180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/49253d45c77e
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #193545: preventing NPE when mouse cursor is outside an editor and Ctrl is pressed.