Community
Participate
Working Groups
Build ID: M20070212-1330 Steps To Reproduce: Set explicitPropertyChange in BeanInfo a) Use a bean with a customizer to apply a property value (firePropertyChange("sample", oldvalue, newvalue) b) Use the customizer and try to reset the value (firePropertyChange("sample", oldvalue,=>null) example (generated source): case a) bean.setSample( new Description[]{"Test", "Test"}); case b) bean.setSample is not removed as expected Reason: Class: org.eclipse.ve.internal.java.core.CustomizeJavaBeanAction Method: recordProperyChange() In the scenario the newBean instance is null => Exception Following code (after creating the newBean instance) solves the problem: if ( newBean == null) { commandBuilder.cancelAttributeSetting( aBean,(EStructuralFeature) propDesc.getId()); return; } => now the 'bean.setSample(..)' line will be removed from the generated code Contact me for any questions. More information: