[jboss-dev-forums] [Design of POJO Server] - Re: NPE in TransactionScopedEntityManager

alesj do-not-reply at jboss.com
Thu Nov 6 04:24:19 EST 2008


"wolfc" wrote : 
  | I've added an assertion to PersistenceUnitDeployment.create:
  | 2008-11-06 10:02:11,701 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController:955] (RMI TCP Connection(2)-127.0.0.1) Error installing to Create: name=persistence.unit:unitName=ejb3_annotations_entity_vehicles.ear/lib/ejb3_annotations_entity.jar#CTS-EM state=Configured
  |   | java.lang.AssertionError: xpcResolver wasn't set on org.jboss.jpa.deployment.PersistenceUnitDeployment at 3ba624
  |   |         at org.jboss.jpa.deployment.PersistenceUnitDeployment.create(PersistenceUnitDeployment.java:92)
  |   | 
  | So MC didn't inject.
Weird ... since it should be allowed to go to Create state
if @Inject dependency wasn't satisfied ...

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

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



More information about the jboss-dev-forums mailing list