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.
When code coverage is swithed on for the project an exception thrown inside a unit test is ignored by the framework and test case passes. Without code coverage the exception is reported and the test case fails.
Reproduced, thanks for the report. I'll try to address this in 6.8.
Hopefully will finally get to this before 6.9.