[jboss-user] [JBoss Seam] - Re: Calling Seam Components (Stateless EJB) outside Seam app

msteiner do-not-reply at jboss.com
Wed Aug 16 04:29:10 EDT 2006


With MDB it doesnt work either.   I have MDB (with @name annotation).  When I send  JMS Message I get NPE:

  | Caused by: java.lang.NullPointerException
  | 	at org.jboss.seam.Component.forName(Component.java:1298)
  | 	at org.jboss.seam.ejb.SeamInterceptor.getSeamComponent(SeamInterceptor.java:166)
  | 	at org.jboss.seam.ejb.SeamInterceptor.postConstruct(SeamInterceptor.java:72)
  | 	at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:131)
  | 	at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:105)
  | 	... 15 more
  | 


Seam version from CVS.

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

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



More information about the jboss-user mailing list