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 255937 - NullPointerException at org.netbeans.modules.search.BasicSearchForm$LengthFilter.replace
Summary: NullPointerException at org.netbeans.modules.search.BasicSearchForm$LengthFil...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Quick Search (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-14 19:55 UTC by dhaowoods
Modified: 2015-10-17 02:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220494


Attachments
stacktrace (2.15 KB, text/plain)
2015-10-14 19:55 UTC, dhaowoods
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dhaowoods 2015-10-14 19:55:53 UTC
Build: NetBeans IDE 8.1 RC (Build 201510012201)
VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
GUEST: Trying to type in "Find in Projects" with an IME

dhaowoods: when I replace "throws Exception" to be "throws IOException"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.search.BasicSearchForm$LengthFilter.replace(BasicSearchForm.java:1099)
   at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:661)
   at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1328)
   at javax.swing.text.JTextComponent.replaceInputMethodText(JTextComponent.java:4744)
   at javax.swing.text.JTextComponent.processInputMethodEvent(JTextComponent.java:4483)
   at java.awt.Component.processEvent(Component.java:6317)
Comment 1 dhaowoods 2015-10-14 19:55:54 UTC
Created attachment 156734 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-10-16 12:47:27 UTC
http://hg.netbeans.org/core-main/rev/fcaec95f61d1
Fixed.
Thank you for reporting.
Comment 3 Quality Engineering 2015-10-17 02:01:12 UTC
Integrated into 'main-silver', will be available in build *201510170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fcaec95f61d1
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #255937: NPE at o.n.m.search.BasicSearchForm$LengthFilter.replace