Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-426

Alfresco test exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • ManifoldCF 0.5
    • ManifoldCF 0.5
    • Alfresco connector
    • None

    Description

      The Alfresco tests spit out this exception, which looks like it is the result of a bug in the test itself:

          [junit] 2012-03-14 14:36:08.423:WARN::/alfresco/download/direct/workspace/Sp
      acesStore/c262b38f-1e7d-4319-bb39-f0128188b9c8/testdata1.txt
          [junit] java.lang.UnsupportedOperationException: Entity deletion by key is n
      ot supported
          [junit]     at org.alfresco.repo.cache.lookup.EntityLookupCache$EntityLookup
      CallbackDAOAdaptor.deleteByKey(EntityLookupCache.java:202)
          [junit]     at org.alfresco.repo.cache.lookup.EntityLookupCache.deleteByKey(
      EntityLookupCache.java:639)
          [junit]     at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.addNodeAspe
      cts(AbstractNodeDAOImpl.java:1987)
          [junit]     at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProp
      erties(DbNodeServiceImpl.java:526)
          [junit]     at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProp
      erties(DbNodeServiceImpl.java:439)
          [junit]     at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeS
      erviceImpl.java:736)
          [junit]     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
      
          [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
          [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
          [junit]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
      Reflection(AopUtils.java:307)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      invokeJoinpoint(ReflectiveMethodInvocation.java:183)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:150)
          [junit]     at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(
      MultiTNodeServiceInterceptor.java:104)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
      dkDynamicAopProxy.java:202)
          [junit]     at $Proxy10.addAspect(Unknown Source)
          [junit]     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
      
          [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
          [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
          [junit]     at org.alfresco.repo.service.StoreRedirectorProxyFactory$Redirec
      torInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
          [junit]     at $Proxy11.addAspect(Unknown Source)
          [junit]     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
      
          [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
          [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
          [junit]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
      Reflection(AopUtils.java:307)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      invokeJoinpoint(ReflectiveMethodInvocation.java:183)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:150)
          [junit]     at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropert
      yInterceptor.java:303)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropert
      yInterceptor.java:303)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invok
      e(NodeRefPropertyMethodInterceptor.java:135)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invok
      e(NodeRefPropertyMethodInterceptor.java:135)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
      dkDynamicAopProxy.java:202)
          [junit]     at $Proxy10.addAspect(Unknown Source)
          [junit]     at org.alfresco.repo.configuration.ConfigurableServiceImpl.makeC
      onfigurable(ConfigurableServiceImpl.java:51)
          [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      sorImpl.java:39)
          [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
          [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
          [junit]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
      Reflection(AopUtils.java:307)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      invokeJoinpoint(ReflectiveMethodInvocation.java:183)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:150)
          [junit]     at org.springframework.transaction.interceptor.TransactionInterc
      eptor.invoke(TransactionInterceptor.java:107)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
      dkDynamicAopProxy.java:202)
          [junit]     at $Proxy212.makeConfigurable(Unknown Source)
          [junit]     at org.alfresco.web.bean.repository.User$1.execute(User.java:228
      )
          [junit]     at org.alfresco.web.bean.repository.User$1.execute(User.java:219
      )
          [junit]     at org.alfresco.repo.transaction.RetryingTransactionHelper.doInT
      ransaction(RetryingTransactionHelper.java:325)
          [junit]     at org.alfresco.repo.transaction.RetryingTransactionHelper.doInT
      ransaction(RetryingTransactionHelper.java:232)
          [junit]     at org.alfresco.web.bean.repository.User.getUserPreferencesRef(U
      ser.java:218)
          [junit]     at org.alfresco.web.bean.repository.User.getPreferences(User.jav
      a:200)
          [junit]     at org.alfresco.web.bean.repository.PreferencesService.getPrefer
      ences(PreferencesService.java:65)
          [junit]     at org.alfresco.web.app.Application.getLanguage(Application.java
      :761)
          [junit]     at org.alfresco.web.app.servlet.AuthenticationHelper.setupThread
      (AuthenticationHelper.java:115)
          [junit]     at org.alfresco.web.app.servlet.AuthenticationHelper.authenticat
      e(AuthenticationHelper.java:316)
          [junit]     at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(
      BaseServlet.java:142)
          [junit]     at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(
      BaseServlet.java:122)
          [junit]     at org.alfresco.web.app.servlet.DownloadContentServlet.doGet(Dow
      nloadContentServlet.java:129)
          [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
          [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
          [junit]     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.
      java:511)
          [junit]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
      (ServletHandler.java:1221)
          [junit]     at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFi
      lter.java:68)
          [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      sorImpl.java:39)
          [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
          [junit]     at java.lang.reflect.Method.invoke(Method.java:592)
          [junit]     at org.alfresco.repo.management.subsystems.ChainingSubsystemProx
      yFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
          [junit]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
      proceed(ReflectiveMethodInvocation.java:172)
          [junit]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
      dkDynamicAopProxy.java:202)
          [junit]     at $Proxy211.doFilter(Unknown Source)
          [junit]     at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(B
      eanProxyFilter.java:82)
          [junit]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
      (ServletHandler.java:1212)
          [junit]     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandle
      r.java:399)
          [junit]     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHan
      dler.java:216)
          [junit]     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandle
      r.java:182)
          [junit]     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandle
      r.java:766)
          [junit]     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.j
      ava:450)
          [junit]     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrappe
      r.java:152)
          [junit]     at org.mortbay.jetty.Server.handle(Server.java:326)
          [junit]     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection
      .java:542)
          [junit]     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplet
      e(HttpConnection.java:928)
          [junit]     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
          [junit]     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:2
      12)
          [junit]     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:4
      04)
          [junit]     at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketCo
      nnector.java:228)
          [junit]     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThre
      adPool.java:582)
      

      This doesn't seem to keep the test from passing, but it is definitely disconcerting.

      Attachments

        Activity

          People

            piergiorgiolucidi@gmail.com Piergiorgio Lucidi
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: