[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: NPE with new parsing in aop-mc-int tests

alesj do-not-reply at jboss.com
Tue Apr 1 09:01:54 EDT 2008


"adrian at jboss.org" wrote : 
  | It's a long standing bug in JBossXB. It basically means it didn't figure out how
  | to create the object. 
  | 
Yup.
I've traced it down to not understanding aop:lifecycle-configure.
Or any aop:lifecycle-(state) for that matter.

Kabir, I thought you said the new jbossxb+aop_mc is a superset of previous schema initializers? ;-)

"adrian at jboss.org" wrote : 
  | But we shouldn't be throwing an NPE there. We should have something more
  | informative.
Definitely. :-)
But this should be already handled in JBossXB.
Otherwise we can add all sorts of NPE checks throughout our metadata classes, if we cannot trust JBossXB to deal with them before.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140478#4140478

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140478



More information about the jboss-dev-forums mailing list