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.
Upon startup, "... could not deserialize ..." message box was displayed and java.lang.ClassCastException and java.io.IOException were thrown. Log file attached.
Created attachment 19 [details] Log file
Might be caused by an object having field pointing directly to Element.Impl and serializing it. Serialization is ok, but the deserialization replaces the Element.Impl by its Element (readResolve method), that is the reason why it throws the ClassCastException.
Is this still true? Two things look old about this bug: one, the global property sheet should no longer be attempting to serialize nodes; only local property sheets should be doing this now, and it is probably not common for someone to open and leave open a property sheet for an element node. Two, I thought I saw some change by Svata correcting serialization problems in elements; did this solve all of them?
I really can't reproduce the bug in recent builds. But neither I can find a bugfix that would fix the described bug for sure.
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.