When a bean doesn't pass the verifier it is "undeployed" and in our case the
LRU cache barf an NPE.

It doesn't look very good and probably has to do with some "non-initialized"
field that is supposed to do some work.

We can predictably say that people will screw their deployment and the error
they get is container NPE which is confusing.

Can someone take a look at it? No don't point the fingers back at me, I am
running on the training.

<snip the bean fails> (this happens for all failed beans)

[J2EE Deployer Default] Starting BookStockBean.jar failed!
[Auto deploy] java.lang.NullPointerException
[Auto deploy]   at
org.jboss.util.LRUCachePolicy.flush(LRUCachePolicy.java:175)
[Auto deploy]   at
org.jboss.util.LRUCachePolicy.stop(LRUCachePolicy.java:95)
[Auto deploy]   at
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.stop(LRUEnterpriseCont
extCa
chePolicy.java:112)
[Auto deploy]   at
org.jboss.ejb.plugins.AbstractInstanceCache.stop(AbstractInstanceCache.java:
358)
[Auto deploy]   at
org.jboss.ejb.EntityContainer.stop(EntityContainer.java:260)
[Auto deploy]   at org.jboss.ejb.Application.stop(Application.java:212)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:362)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:275)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy]   at java.lang.Thread.run(Unknown Source)

_________________
Marc Fleury, Ph.D
[EMAIL PROTECTED]
_________________


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to