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

ALRubinger do-not-reply at jboss.com
Wed Nov 5 02:17:25 EST 2008


Some more context, then onto Seam Team for the answers:

PersistenceUnitDeployment.getXPCResolver() line: 208   
  | TransactionScopedEntityManager.getEntityManager() line: 253     
  | TransactionScopedEntityManager.getDelegate() line: 91   
  | EntityManagerProxy.getDelegate() line: 97       
  | FullTextEntityManagerImpl.getDelegate() line: 154       
  | FullTextEntityManagerProxy(EntityManagerProxy).getDelegate() line: 97   
  | IndexerAction.getFullTextSession() line: 65     
  | IndexerAction.indexAllClasses(Class...) line: 71       
  | IndexerAction.index() line: 44  

Bringing us to NPE.

IndexerAction is a backing bean w/ @Stateful, and in @Create does this call to "index()".  These EM Proxies were not supplied by EJB3.  

We'll apply MC Team rules here.  Give us a failing test case showing we're doing something wrong, and we'll fix it. ;)

S,
ALR

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

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



More information about the jboss-dev-forums mailing list