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 210874 - NullPointerException at org.netbeans.modules.editor.search.SearchComboBoxEditor$4.replace
Summary: NullPointerException at org.netbeans.modules.editor.search.SearchComboBoxEdit...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: Macintosh All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-08 14:50 UTC by mrpc
Modified: 2012-04-12 09:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186792


Attachments
stacktrace (2.19 KB, text/plain)
2012-04-08 14:50 UTC, mrpc
Details
stacktrace (2.19 KB, text/plain)
2012-04-08 14:53 UTC, mrpc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrpc 2012-04-08 14:50:52 UTC
Build: NetBeans IDE Dev (Build 201204080400)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-414, Java(TM) SE Runtime Environment, 1.6.0_31-b04-414-11M3626
OS: Mac OS X

User Comments:
mrpc: Opened search and replace dialog, exception appeared while I was typing in "Replace With" field.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.search.SearchComboBoxEditor$4.replace(SearchComboBoxEditor.java:175)
   at org.netbeans.editor.BaseDocument.replace(BaseDocument.java:994)
   at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1351)
   at javax.swing.JEditorPane.replaceSelection(JEditorPane.java:1206)
   at javax.swing.text.JTextComponent.replaceInputMethodText(JTextComponent.java:4738)
   at javax.swing.text.JTextComponent.processInputMethodEvent(JTextComponent.java:4476)
Comment 1 mrpc 2012-04-08 14:50:57 UTC
Created attachment 117992 [details]
stacktrace
Comment 2 mrpc 2012-04-08 14:53:20 UTC
Created attachment 117993 [details]
stacktrace

This happens every time i type I press ; key in Greek language (to insert ?accent character)
Comment 3 Milutin Kristofic 2012-04-10 12:52:46 UTC
It's only mac issue, I fixed it in 
http://hg.netbeans.org/jet-main/rev/e8efc17cafe1
Comment 4 Quality Engineering 2012-04-12 09:56:15 UTC
Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e8efc17cafe1
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #210874 - NullPointerException at org.netbeans.modules.editor.search.SearchComboBoxEditor$4.replace