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.
CloneNotSupportedException is thrown when non-Serializable value of some property is replicated from the model to the view. We should improved implementation of cloning: * try to perform field-to-field copy or invoke clone() method on objects that implements Cloneable interface * return the same instance if we are not able to clone the object instead of throwing CloneNotSupportedException
Some classes claim to be Serializable, but throw NotSerializableException while being serialized. This is a clear violation of their contract, but we should handle these situations better. There's even a lot of Swing classes that have this problem - they are serializable, but hold a collection of non-serializable listeners.
This is more an enhancement than a defect. Moreover, this problem wasn't reported by our users recently.