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.
While doing an F6 from the Editing view of an ant build.xml file I received the attached ClassCastException. This is the first time this is happened and is not reproducible.
Created attachment 1300 [details] system/ide.log
This is actually a duplicate of your previous #10260 Scott. :-) But I am leaving it open and changing to core because otherwise we might not remember that it is not really fixed. The root problem is in core, which does something illegal. Ant module *usually* works around it. But it can be fooled, if you e.g. press Execute fast and often enough; there is no way for the module to completely work around it.
Target milestone -> 3.3
This is still broken in current dev builds. The workaround in Ant module is still active and used sometimes. Please fix this; it is dangerous and the workaround cannot be 100% reliable (race condition).
Revise that: I am taking out the workaround (TargetExecutor.java 1.14) because Ant 1.4 itself works around it without a race condition. The code in core is still technically broken however and might affect someone else.
updating subcomponent to window system
*** Issue 17993 has been marked as a duplicate of this issue. ***
Target milestone -> 3.3.1.
This probably can be fixed now (using Lookup?), so please try to do it.
accepting...
fixed in release33 branch, but it's not possible to use Lookup, because I would need JNDI Lookup which is not ready yet.
closed