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.
After upgrading from release 32 build 98, where I created some custom executors I'm getting ClassCastException after any target or script execution or after script compilation. CCE is thrown from IDE provided executors.
Created attachment 2631 [details] Exception stack trace
*** Issue 15743 has been marked as a duplicate of this issue. ***
Hmm, this is strange. I have encountered this exception before, in my own IDE build, but could not figure out what had caused it or why it would start. Eventually it went away. I created some workaround code which avoids the exception (without explaining it) in IntrospectedInfo for a while, but decided not to commit it because the problem was not reproducible for me and probably indicated something more basic than the CCE was wrong. I will try to reproduce using the scenario you describe and fix this--the format of some settings changed a little after 3.2 and I thought I was correctly reading the old data, but apparently not. Thanks for the tip!
Fixed in IntrospectedInfo.java 1.7. Was misusing defaultReadObject(), apparently, and was loading part of one field into another in a rather nasty way. Should be fixed now; confirmed that loading settings from 3.2 remembers custom task defs defined there.
Verified.
Resolved for 3.3.x or earlier, no new info since then -> closing.