[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1852) ejb-jar.xml <interceptor-order> not supported

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Jun 19 07:45:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12472962#action_12472962 ] 

jaikiran pai commented on EJBTHREE-1852:
----------------------------------------

We have this working tutorial http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/docs/tutorial/interceptor/META-INF/ejb-jar.xml. Moreover, the line 433 in InterceptorInfoRepository is unlikely to have a NPE. Are you sure, you are not packaging any old versions of jboss jars files within your application? Also, please create a forum thread in the EJB3 user forum so that we can discuss this there http://www.jboss.org/index.html?module=bb&op=viewforum&f=221

> ejb-jar.xml <interceptor-order> not supported
> ---------------------------------------------
>
>                 Key: EJBTHREE-1852
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1852
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: deployers, ejb3, interceptors
>    Affects Versions: 1.1.5
>            Reporter: John Gilbert
>
> The following exception is thrown when using <interceptor-order> in an ejb-jar.xml.
> Caused by: java.lang.NullPointerException
>         at org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialiseDefaultInterceptors(InterceptorInfoRepository.java:433)
>         at org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialise(InterceptorInfoRepository.java:115)
>         at org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.<init>(Ejb3HandlerFactory.java:48)
>         at org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:83)
>         at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:611)
>         at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:491)
>         at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)
>    <assembly-descriptor>
>       <interceptor-binding>
>          <ejb-name>*</ejb-name>
>             <interceptor-order>
>          	<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
>          	<interceptor-class>my.CustomInterceptor</interceptor-class>
>             </interceptor-order>
>       </interceptor-binding>
>    </assembly-descriptor>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list