[jboss-jira] [JBoss JIRA] (AS7-3497) Exception when deploying EJB with duplicated Interceptors-annontation is not informative enough
Simon Walter (JIRA)
jira-events at lists.jboss.org
Mon Jan 30 07:23:48 EST 2012
Simon Walter created AS7-3497:
---------------------------------
Summary: Exception when deploying EJB with duplicated Interceptors-annontation is not informative enough
Key: AS7-3497
URL: https://issues.jboss.org/browse/AS7-3497
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.0.CR1b
Reporter: Simon Walter
Priority: Minor
{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 jboss-jira
mailing list