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

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Jun 23 04:20:34 EDT 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf resolved EJBTHREE-1852.
-------------------------------------

    Resolution: Done


I've removed the obsolete code from InterceptorInfoRepository which also caused this error.

Note that instantiating an InterceptorInfoRepository will now produce a warning:
09:49:32,195 WARN  [InterceptorInfoRepository] EJBTHREE-1852: InterceptorInfoRepository is deprecated

These should be dealt with once the next release of EJB 3 is integrated. A bean developer can safely ignore the warnings.

> 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: core
>    Affects Versions: 1.1.5
>            Reporter: John Gilbert
>            Assignee: Carlo de Wolf
>             Fix For: 1.1.8
>
>
> 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