Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-4982

unable to delete documents due to an IMAP error

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: No Version
    • Fix Version/s: 3.4.5
    • Component/s: IMAP
    • Labels:
      None
    • Environment:
      Linux CentOS 6 / Java version "1.6.0_17" (OpenJDK IcedTea6 1.7.5) Alfresco Community 4.0.a (build Aug 16)
    • Bug Priority:
      Category 2

      Description

      When I try to delete a document, I have an IMAP error who stops the document's deletion

      Here my logs, when I click to the delete's icon:

      <code>
      15:05:31,761 DEBUG [org.alfresco.repo.imap.ImapServiceImpl] [invalidateFolderCacheByNodeRef] Invalidate cache entries for workspace://SpacesStore/5019372f-0697-4a81-9a20-7e0279a7040d and children
      15:05:31,762 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [getKeys]
      15:05:31,762 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,762 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Mod&AOg-les d'espace'
      15:05:31,763 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Mod&AOg-les d'espace'
      15:05:31,767 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access allowed to 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Mod&AOg-les d'espace' for user 'sjeandroz'
      15:05:31,769 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,769 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Sites/M&AOk-moire de fin d'&AOk-tude'
      15:05:31,769 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Sites/M&AOk-moire de fin d'&AOk-tude'
      15:05:31,774 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access allowed to 'Alfresco IMAP/Sites/M&AOk-moire de fin d'&AOk-tude' for user 'sjeandroz'
      15:05:31,775 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,775 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Dictionnaire de données/Transferts/Groupes de cibles de transfert'
      15:05:31,775 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Dictionnaire de données/Transferts/Groupes de cibles de transfert'
      15:05:31,779 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access allowed to 'Alfresco IMAP/Dictionnaire de données/Transferts/Groupes de cibles de transfert' for user 'sjeandroz'
      15:05:31,779 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,779 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Transferts/Temp'
      15:05:31,780 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Transferts/Temp'
      15:05:31,784 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access allowed to 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Transferts/Temp' for user 'sjeandroz'
      15:05:31,784 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,784 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Transferts/Groupes de cibles de transfert/Groupe par d&AOk-faut'
      15:05:31,784 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Transferts/Groupes de cibles de transfert/Groupe par d&AOk-faut'
      15:05:31,787 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access allowed to 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Transferts/Groupes de cibles de transfert/Groupe par d&AOk-faut' for user 'sjeandroz'
      15:05:31,788 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,788 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Mod&AOg-les d'e-mail/Mod&AOg-les d'e-mail de notification'
      15:05:31,788 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Mod&AOg-les d'e-mail/Mod&AOg-les d'e-mail de notification'
      15:05:31,792 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access allowed to 'Alfresco IMAP/Dictionnaire de donn&AOk-es/Mod&AOg-les d'e-mail/Mod&AOg-les d'e-mail de notification' for user 'sjeandroz'
      15:05:31,792 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get]
      15:05:31,793 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Check the cache [get] for 'Alfresco IMAP/Sites/Direction'
      15:05:31,793 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] The cache contains 'Alfresco IMAP/Sites/Direction'
      15:05:31,796 DEBUG [org.alfresco.repo.imap.AlfrescoImapFolderAccessInterceptor] Access denied to 'Alfresco IMAP/Sites/Direction' for user 'sjeandroz'
      15:05:31,802 ERROR [org.alfresco.web.ui.common.Utils] Unable to delete File due to system error: null
      java.lang.NullPointerException
      at org.alfresco.repo.imap.ImapServiceImpl.invalidateFolderCacheByNodeRef(ImapServiceImpl.java:2333)
      at org.alfresco.repo.imap.ImapServiceImpl.beforeDeleteNode(ImapServiceImpl.java:2199)
      at sun.reflect.GeneratedMethodAccessor1280.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:173)
      at $Proxy19.beforeDeleteNode(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor680.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.alfresco.repo.policy.PolicyFactory$MultiHandler.invoke(PolicyFactory.java:300)
      at org.alfresco.repo.policy.$Proxy249.beforeDeleteNode(Unknown Source)
      at org.alfresco.repo.node.AbstractNodeServiceImpl.invokeBeforeDeleteNode(AbstractNodeServiceImpl.java:421)
      at org.alfresco.repo.node.db.DbNodeServiceImpl.moveNode(DbNodeServiceImpl.java:2273)
      at org.alfresco.repo.node.db.DbNodeServiceImpl.archiveNodeImpl(DbNodeServiceImpl.java:2118)
      at org.alfresco.repo.node.db.DbNodeServiceImpl.archiveNode(DbNodeServiceImpl.java:2074)
      at org.alfresco.repo.node.db.DbNodeServiceImpl.deleteNode(DbNodeServiceImpl.java:1020)
      at sun.reflect.GeneratedMethodAccessor716.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy8.deleteNode(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor716.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
      at $Proxy9.deleteNode(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor716.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:129)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:303)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:129)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:129)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:303)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:269)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:303)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:269)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:269)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy8.deleteNode(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor716.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:44)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:146)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy8.deleteNode(Unknown Source)
      at org.alfresco.web.bean.content.DeleteContentDialog.finishImpl(DeleteContentDialog.java:73)
      at org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.java:123)
      at org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.java:119)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
      at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:129)
      at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:528)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
      at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
      at javax.faces.component.UICommand.broadcast(UICommand.java:151)
      at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:115)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:191)
      at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
      at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:105)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:80)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:143)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)
      at sun.reflect.GeneratedMethodAccessor728.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      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(JdkDynamicAopProxy.java:202)
      at $Proxy235.doFilter(Unknown Source)
      at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
      at sun.reflect.GeneratedMethodAccessor728.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      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(JdkDynamicAopProxy.java:202)
      at $Proxy235.doFilter(Unknown Source)
      at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:636)
      </code>

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  sjeandroz sjeandroz (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour
                    1h

                      Structure Helper Panel