[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: NPE with new parsing in aop-mc-int tests
adrian@jboss.org
do-not-reply at jboss.com
Tue Apr 1 09:26:34 EDT 2008
"alesj" wrote :
| "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.
|
What does JBossXB have to do with the following code?
| KernelDeployment dep = new AbstractKernelDeployment("test");
| dep.setBeans(Arrays.asList((BeanMetaDataFactory) null));
|
which produces the same error.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140492#4140492
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140492
More information about the jboss-dev-forums
mailing list