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.
Build NB dev 200307280100 JDK 1.4.1_03 Linux I have IDE in state where all combobox property editors doesn't work (aren't listed after click). Before it: "java.lang.IllegalArgumentException: focusCycleRoot is not a focus cyle root of aComponent" had thrown.
Created attachment 11171 [details] IAE stack trace.
Eman: steps to reproduce?
I couldn't find any way to reproduce it. I've restarted IDE and it works fine.
Please also include any info if you are using a non-default look and feel or any other non-standard settings. This can probably be cured by giving SheetTable a custom FocusTraversalPolicy that always returns the table as the next component - I'm not sure what SortingFocusTraversalPolicy is, but it looks like something is trying to find the next focusable component after the cell editor has been removed from the table (and so the table no longer knows about the cell editor). I've never seen this problem using JDK 1.4.2, but the whole FocusTraversalPolicy shebang was added in JDK 1.4.0 - it's possible we're tickling some bug that was fixed for 1.4.2. Any steps to reproduce would be helpful.
I've seen it once again. I edited form in Component inspector and I maked just double click on number property editor. IAE thrown and all property editors were unusable (something like read only). It looked like the focus stayed on the clicked editor though I clicked on another editors (I'm not sure). Only help is to restart IDE.
Click the name of the problem property. Press CTRL-SHIFT-HOME and the class name of the property editor will be displayed in the console. Let me know what it is. Also, please attach the stack trace for the IAE you mentioned. The Form editor has some legacy property editors that use the old EnhancedPropertyEditor interface - where they are supplying their own ComboBoxes for editing. I need to figure out if the problem is in one of their combo box editors (there is an open issue for them to update their editors to use InplaceEditor, or better, get rid of them), or if it's in the default combo box editor for the new property sheet.
I've seen it again. I pressed Ctrl+Shift+Home: org.netbeans.modules.form.FormPropertyEditor Exception's stacktrace and screenshot are in attachments.
Created attachment 11228 [details] IAE's stacktrace.
Created attachment 11229 [details] Screen shot.
*** Issue 35268 has been marked as a duplicate of this issue. ***
Created a custom FocusTransferPolicy implementation for the property sheet, which doesn't care if it owns the component it is asked about or not.
verified in [nb_dev](20030904)