[infinispan-issues] [JBoss JIRA] (ISPN-1479) CacheRemoveAllInterceptorTest log errors without failing the test

Sanne Grinovero (Created) (JIRA) jira-events at lists.jboss.org
Fri Oct 21 05:31:45 EDT 2011


CacheRemoveAllInterceptorTest log errors without failing the test
-----------------------------------------------------------------

                 Key: ISPN-1479
                 URL: https://issues.jboss.org/browse/ISPN-1479
             Project: Infinispan
          Issue Type: Enhancement
    Affects Versions: 5.1.0.BETA2
            Reporter: Sanne Grinovero
            Assignee: Kevin Pollet
            Priority: Minor
             Fix For: 5.1.0.BETA3


I'm not sure if it's a problem, but it doesn't look like this was meant to be logged:
{quote}
2011-10-21 10:26:47,488 ERROR [UnitTestTestNGListener] (testng-CacheRemoveAllInterceptorTest) Method testCacheRemoveAll(org.infinispan.cdi.test.interceptor.CacheRemoveAllInterceptorTest) threw an exception
javax.cache.CacheException: ISPN017007: Method named 'removeAll' is annotated with CacheRemoveAll but doesn't specify a cache name
	at org.infinispan.cdi.interceptor.context.CacheKeyInvocationContextFactory.getMethodMetaData(CacheKeyInvocationContextFactory.java:133)
	at org.infinispan.cdi.interceptor.context.CacheKeyInvocationContextFactory.getCacheKeyInvocationContext(CacheKeyInvocationContextFactory.java:87)
	at org.infinispan.cdi.interceptor.context.CacheKeyInvocationContextFactory$Proxy$_$$_WeldClientProxy.getCacheKeyInvocationContext(CacheKeyInvocationContextFactory$Proxy$_$$_WeldClientProxy.java)
	at org.infinispan.cdi.interceptor.CacheRemoveAllInterceptor.cacheRemoveAll(CacheRemoveAllInterceptor.java:71)
	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.interceptor.proxy.InterceptorInvocation$InterceptorMethodInvocation.invoke(InterceptorInvocation.java:72)
	at org.jboss.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:82)
	at org.jboss.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:133)
	at org.jboss.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:112)
	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:65)
	at org.infinispan.cdi.test.interceptor.service.726545320$Proxy$_$$_WeldSubclass.removeAll(726545320$Proxy$_$$_WeldSubclass.java)
	at org.infinispan.cdi.test.interceptor.CacheRemoveAllInterceptorTest.testCacheRemoveAll(CacheRemoveAllInterceptorTest.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{quote}

--
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 infinispan-issues mailing list