[weld-issues] [JBoss JIRA] Closed: (WELD-887) Confusing exception message when Interceptor binding not provided

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Jul 12 20:34:23 EDT 2011


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

Stuart Douglas closed WELD-887.
-------------------------------

    Fix Version/s: 1.1.2.Final
       Resolution: Rejected


This looks like http://jira.qos.ch/browse/CAL-29, try downgrading the cal10n version

> Confusing exception message when Interceptor binding not provided
> -----------------------------------------------------------------
>
>                 Key: WELD-887
>                 URL: https://issues.jboss.org/browse/WELD-887
>             Project: Weld
>          Issue Type: Bug
>          Components: Interceptors and Decorators
>    Affects Versions: 1.0.1.Final
>            Reporter: Hendy Irawan
>             Fix For: 1.1.2.Final
>
>
> Seems like MISSING_BINDING_ON_INTERCEPTOR is not a valid message key in resource bundle?
> {noformat}
> org.jboss.weld.exceptions.DeploymentException: Exception message for key MISSING_BINDING_ON_INTERCEPTOR not found due to String index out of range: -1
> 	at org.jboss.weld.bean.InterceptorImpl.<init>(InterceptorImpl.java:71)
> 	at org.jboss.weld.bean.InterceptorImpl.of(InterceptorImpl.java:55)
> 	at org.jboss.weld.bootstrap.AbstractBeanDeployer.createInterceptor(AbstractBeanDeployer.java:255)
> 	at org.jboss.weld.bootstrap.BeanDeployer.createBeans(BeanDeployer.java:106)
> 	at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:151)
> 	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:377)
> 	at org.jboss.arquillian.container.weld.se.embedded_1.WeldSEContainer.deploy(WeldSEContainer.java:118)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:141)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:115)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:226)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:114)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)
> 	at org.jboss.arquillian.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:100)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)
> 	at org.jboss.arquillian.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:78)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)
> 	at org.jboss.arquillian.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:51)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)
> 	at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)
> 	at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)
> 	at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:86)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:79)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:217)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:78)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)
> 	at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)
> 	at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)
> 	at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)
> 	at org.jboss.arquillian.impl.client.ContainerEventController.execute(ContainerEventController.java:69)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)
> 	at org.jboss.arquillian.impl.TestContextHandler.createClassContext(TestContextHandler.java:68)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)
> 	at org.jboss.arquillian.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:54)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)
> 	at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)
> 	at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)
> 	at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:70)
> 	at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:170)
> 	at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:303)
> 	at org.jboss.arquillian.junit.Arquillian.access$300(Arquillian.java:45)
> 	at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:187)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> 	at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:127)
> 	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list