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.
[200107230100] In explorer click with mouse to some class and expand tree. When you see tree nodes Fields, Constructors, Methods and Bean Patterns show popup menu on Fields node. Than choose "Add Field" from popup menu. 1) bug : in displayed window nammed "Edit new field" is two cursors Here are three types of behavior by adding bad identifier : 2) bug : a) 1x error dialog is displayed b) 2x error dialog is displayed and in source editor is default field created ! c) 3x error dialog is displayed There should be the information dialog instead of error message. Detailed descriptions of 2) : a) When I typed char '*' to text field named "Name" and click "with mouse" to button "Ok", was error massage displayed. b) When I selected text with mouse in text field named "Name" and type "Delete" from kyeboard. Than I typed char '*'.When I push down "Enter" key were 2 error messages displayed c) when I deleted text with "backspace" key, typed char '*' and push down "Enter" key, than where 3 error message displayed The same bahavior is with Method node in explorer.
It's an outstanding issue - how to cancel/validate a Customizer ? Moving to `ui' subcomponent.
*** Issue 9776 has been marked as a duplicate of this issue. ***
Won't be probably fixed in 3.3 release. In the future, I hope that we will refrain from using customizers (because of this blurred update issues)
[200111201425] Ide freeze when reproducing step 2c)
JDK_1.4
Created attachment 3515 [details] Thread dump
Svato, I can confirm the deadlock. I'll attach full thread dump. I think this should be fixed into 3.3. Note - running on jdk1.4.0-rc-b86. Repro - Just write '*' as the new Filed name and press Enter.
My ftd is the same as Jan's ;-)
Created attachment 3520 [details] FTD (Deadlock)
I started IDE with -J-Xdebug option and created FTD. Note : Deadlock on jdk1.4.0-rc-b86
Fixed in trunk: /cvs/openide/src/org/openide/src/nodes/ClassCustomizer.java,v <-- ClassCustomizer.java new revision: 1.17; previous revision: 1.16 /cvs/openide/src/org/openide/src/nodes/FieldCustomizer.java,v <-- FieldCustomizer.java new revision: 1.18; previous revision: 1.17 /cvs/openide/src/org/openide/src/nodes/MethodCustomizer.java,v <-- MethodCustomizer.java new revision: 1.17; previous revision: 1.16
Petr, can you verify it? Thanks.
Verified in [200111230645] on jdk1.4.0_b86,jdk1.4.0_b87. Note created issue : 18042 (Bugs in adding new field (new method) to source editor)
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component