[jboss-dev-forums] [Design of EJB 3.0] - metadata-related NPEs: empty collection vs null
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Fri Nov 2 12:33:37 EDT 2007
There is a number of NPEs in EJB3DescriptorHandler currently. The code doesn't expect null as a value of collection-valued metadata properties. I started adding checks for null for now. But it would probably be better to return empty collections?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101385#4101385
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101385
More information about the jboss-dev-forums
mailing list