Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1479

CacheRemoveAllInterceptorTest log errors without failing the test

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 5.1.0.BETA3
    • 5.1.0.BETA2
    • None
    • None

      I'm not sure if it's a problem, but it doesn't look like this was meant to be logged:

      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)

              kevinpollet Kévin Pollet (Inactive)
              sgrinove Sanne Grinovero (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: