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.
"Find (Ctrl + F or F3)" and "Find current word (Ctrl + F3)" doesn't work. 1. The attached exception is thrown. 2. The matching words are not highlighted correctly (refreshing the view is required). 3. The current text (used by F3) is not changed (pressing F3 jumps to another word)
Created attachment 12857 [details] The thrown exception
I suspect the bug is related to the fact that I am using JDK1.5-alpha
Please add output of 'java -version'. Thanks.
> java -version java version "1.5.0-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b31) Java HotSpot(TM) Client VM (build 1.5.0-beta-b31, mixed mode)
we wil fix it to NB 3.6
fixed in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/BaseTextUI.java,v <-- BaseTextUI.java new revision: 1.61; previous revision: 1.60 The problem occured because of double adding prop change listener to JTextComponent. From BaseTextUI and its super class BasicTextUI ... It causes wrong removing of listener, memory leak and the problem of this issue.
*** Issue 39216 has been marked as a duplicate of this issue. ***
Verified