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.
Currently the exception thrown is TypeMismatch and when it formattes the message (inside getMessage()), it produces a NPE. I suggest early checking for null before the typecheck.
fixed