Posts tagged "ALC-WKS-005-032"

LiveCycle ES: ALC-WKS-005-032: An error occurred while retrieving attachments and notes for task

Issue

 If you are trying to submit a form to start a process, you may notice the following error in the server logs:

14, 2010 4:27:56 PM MEST> <Notice> <Stdout> <xxxxx> <xxxxx> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> 
<<WLS Kernel>> <> <> <1273847276984> <000000> 
<[LCDS] [ERROR] Exception when invoking service 'data-service': flex.messaging.MessageException: 
ALC-WKS-005-032: An error occurred while retrieving attachments and notes for task 616305.
 incomingMessage: Flex Message (flex.data.messages.DataMessageExt)
 operation = fill
 id = null
 clientId = D6CC8793-5705-51BC-B5D8-972ED874CC81
 correlationId = destination = task-attachments
 messageId = 116BFB92-0520-A993-7F6A-9736E3DD1E7C
 timestamp = 1273847276941
 timeToLive = 0
 body = [ 9D7308E3-6721-16FD-2145-D2582D4431DF, 616305 ]
 hdr(DSEndpoint) = workspace-polling-amf
 hdr(DSId) = 191AECD1-A01E-947D-0F00-441BD702AE67

 Exception: flex.messaging.MessageException: ALC-WKS-005-032: An error occurred while retrieving attachments and notes for task 616305.
 at com.adobe.workspace.AssemblerUtility.createMessageException(AssemblerUtility.java:387)
 at com.adobe.workspace.attachments.TaskAttachmentAssembler.fill(TaskAttachmentAssembler.java:129)
 at flex.data.adapters.JavaAdapter.invokeFillOperation(JavaAdapter.java:939)
[....]
Root cause: com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException: com.adobe.idp.taskmanager.dsc.client.task.TaskPermissionException: 
Access to task: 616305 is denied. User Calling API: 7CD995A1-B091-8E45-9DFD-7B972380CD36 but task is assigned to: 9D7308E3-6721-16FD-2145-D2582D4431DF
 at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.getAllAttachments(TaskManagerServiceImpl.java:2397)
 at sun.reflect.GeneratedMethodAccessor1981.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
[...]

This error occurs when the form is submitted, but no process is actually started.  If you look in the database you can see a task exists for the intial user task where the form is submitted, however the process id and action instance id associated with the task do not exist in those respective tables.

Reason

In LiveCycle we use a hash of the user’s canonical name as the key for the UserSession contexts.  In this case, two different users actually had the exact same hash value and so the UserSessions collided.

Solution

 There is a patch available for this issue in Es 8.2.1.2, and the issue has been fixed in ES2 SP2, and later versions.

reference: (181548195/2609083)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 8.0/10 (1 vote cast)