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.
Common error of people using @JavaScriptBody is that they return "undefined" instead of "null". The representation of undefined then differs in various presenters. Sometimes it yields class cast exceptions, sometimes unknown symbols. Better to avoid it altogether.
http://hg.netbeans.org/html4j/rev/b49546d64269 Will be part of 1.4 release.