[
https://issues.jboss.org/browse/WELD-1055?page=com.atlassian.jira.plugin....
]
Ales Justin updated WELD-1055:
------------------------------
Fix Version/s: 1.2.0.Beta1
Description:
{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@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}
was:
{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@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}
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@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