quality@glassfish.java.net

Re: Nasty null pointer exception on deploy

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Sat, 19 Dec 2009 09:49:34 +0200

Hi Hong

2009/12/18 Hong Zhang <Hong.Zhang_at_sun.com>

> Adding a SessionBean fixes the problem.
> I added this to the issue.
>
> Thanks for trying this! Yes, you need to have at least one EJB in an ejb
> jar. :-)
> I will work on providing a better error message for the negative case.
>

Great, thanks.
Can I humbly suggest a unit test for this.
Not sure if you can check error messages from the deploy in the unit test.

regards
Richard