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.
For testing purposes I call tableCellRenderer.getTableCellRendererComponent() But it throws ISE (see attachment) and property sheet is unusable because it shows the message of the exception instead of value.
Created attachment 11800 [details] Stack trace
Argh, I added this detection code to make it impossible for anybody who modifies the propertysheet package to create a memory leak, by making editors/renderers scream and yell if they find they were abandoned while holding a reference to a property or its value. Looks like I probably will have to delete this code - it would of course cause problems for tests that just want to look at the renderer component (the references will actually get cleared at the end of paint()).
*** Issue 36486 has been marked as a duplicate of this issue. ***
Checking in AutoGridLayout.java; /cvs/openide/src/org/openide/explorer/propertysheet/AutoGridLayout.java,v <-- AutoGridLayout.java new revision: 1.3; previous revision: 1.2 done Checking in CheckboxInplaceEditor.java; /cvs/openide/src/org/openide/explorer/propertysheet/CheckboxInplaceEditor.java,v <-- CheckboxInplaceEditor.java new revision: 1.5; previous revision: 1.4 done Checking in ComboInplaceEditor.java; /cvs/openide/src/org/openide/explorer/propertysheet/ComboInplaceEditor.java,v < -- ComboInplaceEditor.java new revision: 1.9; previous revision: 1.8 done Checking in StringInplaceEditor.java; /cvs/openide/src/org/openide/explorer/propertysheet/StringInplaceEditor.java,v <-- StringInplaceEditor.java new revision: 1.7; previous revision: 1.6 done Processing log script arguments... Mailing the commit message to cvs@openide.netbeans.org (from tboudreau@netbeans. org)
Verified in build 200310230100.