AnsweredAssumed Answered

error occurs in log after uploading a eml file

Question asked by ray on Dec 11, 2009
Hi all,
I deployed 3.2 with DOD module.

But DOD module will cause throwing an exception when I upload a "xxx.eml" file to documentlibrary.
I am sure that this is caused by RFC822MetadataExtracter which generated some dod properties for the node. So the node will have the ASPECT_RECORD_COMPONENT_ID, and RecordsManagementAuditServiceImpl is triggered for audit.

The error message as below:

10:16:09,571 User:admin ERROR [repo.transaction.AlfrescoTransactionSupport] After completion (committed) listener exception:
   listener: org.alfresco.module.org_alfresco_module_dod5015.audit.RecordsManagementAuditServiceImpl$RMAuditTxnListener@182a845
org.alfresco.error.AlfrescoRuntimeException: 11110007 Failed to extract audit data:
   Path:      /DOD5015/event/node
   Raw value: workspace://SpacesStore/476373f4-2d59-481d-90cf-c8e1d9ec6bfd
   Extractor: org.alfresco.module.org_alfresco_module_dod5015.audit.FilePlanNodeRefPathDataExtractor@11803f2
        at org.alfresco.repo.audit.AuditComponentImpl.extractData(AuditComponentImpl.java:1266)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:1200)
        at org.alfresco.repo.audit.AuditComponentImpl.recordAuditValuesImpl(AuditComponentImpl.java:1141)
        at org.alfresco.repo.audit.AuditComponentImpl.recordAuditValues(AuditComponentImpl.java:1083)
        at org.alfresco.module.org_alfresco_module_dod5015.audit.RecordsManagementAuditServiceImpl$RMAuditTxnListener.auditInTxn(RecordsManagementAuditServiceImpl.java:621)
        at org.alfresco.module.org_alfresco_module_dod5015.audit.RecordsManagementAuditServiceImpl$RMAuditTxnListener.access$200(RecordsManagementAuditServiceImpl.java:533)
        at org.alfresco.module.org_alfresco_module_dod5015.audit.RecordsManagementAuditServiceImpl$RMAuditTxnListener$1.execute(RecordsManagementAuditServiceImpl.java:555)
        at org.alfresco.module.org_alfresco_module_dod5015.audit.RecordsManagementAuditServiceImpl$RMAuditTxnListener$1.execute(RecordsManagementAuditServiceImpl.java:552)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
        at org.alfresco.module.org_alfresco_module_dod5015.audit.RecordsManagementAuditServiceImpl$RMAuditTxnListener.afterCommit(RecordsManagementAuditServiceImpl.java:559)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.afterCompletion(AlfrescoTransactionSupport.java:814)
        at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:161)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:1009)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:984)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:812)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:736)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:394)
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:478)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:349)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:422)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:303)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
        at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        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:128)
        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:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 11110006 Unable to get NodeRef path for node:
   Node: workspace://SpacesStore/476373f4-2d59-481d-90cf-c8e1d9ec6bfd
        at org.alfresco.module.org_alfresco_module_dod5015.RecordsManagementServiceImpl.getNodeRefPath(RecordsManagementServiceImpl.java:443)
        at org.alfresco.module.org_alfresco_module_dod5015.audit.FilePlanNodeRefPathDataExtractor.extractData(FilePlanNodeRefPathDataExtractor.java:85)
        at org.alfresco.repo.audit.AuditComponentImpl.extractData(AuditComponentImpl.java:1262)
        … 37 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 11110005 RM nodes must have aspect {http://www.alfresco.org/model/recordsmanagement/1.0}filePlanComponent
        at org.alfresco.module.org_alfresco_module_dod5015.RecordsManagementServiceImpl.getNodeRefPathRecursive(RecordsManagementServiceImpl.java:458)
        at org.alfresco.module.org_alfresco_module_dod5015.RecordsManagementServiceImpl.getNodeRefPathRecursive(RecordsManagementServiceImpl.java:477)
        at org.alfresco.module.org_alfresco_module_dod5015.RecordsManagementServiceImpl.getNodeRefPath(RecordsManagementServiceImpl.java:439)
        … 39 more


Any help will be very appreciated!
Thanks.
Ray

Outcomes