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

Alfresco test sometimes fails; upgrade to Alfresco 4.0 recommended

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 1.1
    • Fix Version/s: ManifoldCF 1.3
    • Component/s: Alfresco connector
    • Labels:
      None

      Description

      Here's the trace from the failure:

      java.lang.UnsupportedOperationException: Entity deletion by key is not supported
      
              at org.alfresco.repo.cache.lookup.EntityLookupCache$EntityLookupCallback
      DAOAdaptor.deleteByKey(EntityLookupCache.java:202)
              at org.alfresco.repo.cache.lookup.EntityLookupCache.deleteByKey(EntityLo
      okupCache.java:639)
              at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.addNodeAspects(Abst
      ractNodeDAOImpl.java:1987)
              at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProperties(D
      bNodeServiceImpl.java:526)
              at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProperties(D
      bNodeServiceImpl.java:439)
              at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeServiceIm
      pl.java:736)
              at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
      on(AopUtils.java:307)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
      inpoint(ReflectiveMethodInvocation.java:183)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:150)
              at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNo
      deServiceInterceptor.java:104)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
      cAopProxy.java:202)
              at $Proxy10.addAspect(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvoc
      ationHandler.invoke(StoreRedirectorProxyFactory.java:215)
              at $Proxy11.addAspect(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
      on(AopUtils.java:307)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
      inpoint(ReflectiveMethodInvocation.java:183)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:150)
              at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterce
      ptor.java:303)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterce
      ptor.java:303)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRe
      fPropertyMethodInterceptor.java:135)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRe
      fPropertyMethodInterceptor.java:135)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
      cAopProxy.java:202)
              at $Proxy10.addAspect(Unknown Source)
              at org.alfresco.repo.configuration.ConfigurableServiceImpl.makeConfigura
      ble(ConfigurableServiceImpl.java:51)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
      on(AopUtils.java:307)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
      inpoint(ReflectiveMethodInvocation.java:183)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:150)
              at org.springframework.transaction.interceptor.TransactionInterceptor.in
      voke(TransactionInterceptor.java:107)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
      cAopProxy.java:202)
              at $Proxy212.makeConfigurable(Unknown Source)
              at org.alfresco.web.bean.repository.User$1.execute(User.java:228)
              at org.alfresco.web.bean.repository.User$1.execute(User.java:219)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
      on(RetryingTransactionHelper.java:325)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
      on(RetryingTransactionHelper.java:232)
              at org.alfresco.web.bean.repository.User.getUserPreferencesRef(User.java
      :218)
              at org.alfresco.web.bean.repository.User.getPreferences(User.java:200)
              at org.alfresco.web.bean.repository.PreferencesService.getPreferences(Pr
      eferencesService.java:65)
              at org.alfresco.web.app.Application.getLanguage(Application.java:761)
              at org.alfresco.web.app.servlet.AuthenticationHelper.setupThread(Authent
      icationHelper.java:115)
              at org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(Authen
      ticationHelper.java:316)
              at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(BaseServ
      let.java:142)
              at org.alfresco.web.app.servlet.BaseServlet.servletAuthenticate(BaseServ
      let.java:122)
              at org.alfresco.web.app.servlet.DownloadContentServlet.doGet(DownloadCon
      tentServlet.java:129)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547
      )
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1359)
              at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.jav
      a:68)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory
      $1.invoke(ChainingSubsystemProxyFactory.java:116)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
      ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
      cAopProxy.java:202)
              at $Proxy211.doFilter(Unknown Source)
              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxy
      Filter.java:82)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1330)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
      :478)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
      ava:119)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.jav
      a:520)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandl
      er.java:227)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandl
      er.java:941)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
      409)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandle
      r.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandle
      r.java:875)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
      ava:117)
              at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Cont
      extHandlerCollection.java:250)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
      .java:110)
              at org.eclipse.jetty.server.Server.handle(Server.java:349)
              at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.
      java:441)
              at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete
      (HttpConnection.java:919)
              at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
              at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
      
              at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnecti
      on.java:51)
              at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEn
      dPoint.java:586)
              at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEnd
      Point.java:44)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPoo
      l.java:598)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool
      .java:533)
              at java.lang.Thread.run(Thread.java:619)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: