[weld-issues] [JBoss JIRA] (WELD-1055) Exception when deploying EJB with duplicated Interceptors-annontation is not informative enough

Ales Justin (JIRA) jira-events at lists.jboss.org
Thu Mar 1 10:04:38 EST 2012


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

Ales Justin resolved WELD-1055.
-------------------------------

    Resolution: Done

    
> Exception when deploying EJB with duplicated Interceptors-annontation is not informative enough
> -----------------------------------------------------------------------------------------------
>
>                 Key: WELD-1055
>                 URL: https://issues.jboss.org/browse/WELD-1055
>             Project: Weld
>          Issue Type: Enhancement
>    Affects Versions: 1.1.5.Final
>            Reporter: Simon Walter
>            Assignee: Marko Lukša
>            Priority: Minor
>             Fix For: 1.2.0.Beta1
>
>
> {noformat}
> 13:11:12,017 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: 
> Failed to start service jboss.deployment.unit."xxx.ear".WeldService: 
> org.jboss.msc.service.StartException in service jboss.deployment.unit."xxx.ear".WeldService: 
> org.jboss.interceptor.proxy.InterceptorException: 
> Duplicate interceptor class definition when bindingorg.jboss.interceptor.reader.SimpleInterceptorMetadata at 1db7445 on AROUND_INVOKE
> {noformat}
> The exception should contains information regarding the interceptor or the annotated class:
> org.jboss.interceptor.builder.InterceptionModelImpl Line 162: {code}throw new InterceptorException("Duplicate interceptor class definition when binding" + interceptor + " on " + interceptionType.name());{code} should at least be
> {code}throw new InterceptorException("Duplicate interceptor class definition when binding" + interceptor.getInterceptorClass().getClassName() + " on " + interceptionType.name());{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the weld-issues mailing list