users@glassfish.java.net

Re: NPE in both deployment and verifier

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 26 Mar 2007 13:36:37 -0400

Hi,

>thanks a lot. I was also going to read the
>source code, but fisheye was down yesterday.
>It was in ejb-jar.xml
>
>Anyway, I still consider this a bug:
>a) it is a pain...
>b) the schema does not make res-type element mandatory. Either the schema or the implementation is incorrect.
>
>
The reason the schema does not make it mandatory is that the res-type
information could be obtained from annotation.
I agree the NPE is not very useful to debug the situation, please file a
glassfish issue/enhacement to improve the user experience in this area.

Thanks,

- Hong

>Thanks again
>Edek
>[Message sent by forum member 'edek234' (edek234)]
>
>http://forums.java.net/jive/thread.jspa?messageID=209883
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>