"alesj" wrote :
| "adrian(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...