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

alesj do-not-reply at jboss.com
Tue Apr 1 08:32:37 EDT 2008


I get a bunch of NPEs while testing aop-mc-int.
The exception comes from 

  | java.lang.NullPointerException
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployment.getBeans(AbstractKernelDeployment.java:227)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:304)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:133)
  | 	at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
  | 	at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:88)
  | 	at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:158)
  | 	at org.jboss.test.kernel.junit.MicrocontainerTestDelegate.deploy(MicrocontainerTestDelegate.java:294)
  | 	at org.jboss.test.kernel.junit.MicrocontainerTest.deploy(MicrocontainerTest.java:325)
  | 
which is this line

  |          for (BeanMetaDataFactory factory : factories)
  |          {
  | XXX            List<BeanMetaData> beans = factory.getBeans();
  | 

Debuging the thing showed that normal mc beans are there as factories, it's the aop specfic stuff that is put there as a null.

Who matches/produces this null?

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

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



More information about the jboss-dev-forums mailing list