Error custom task operation

Hi
Sometimes i get an error in the bpel server control when i am performing a custom task operation ' wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);'
the error is: <2005-12-05 17:22:45,421> <ERROR> <default.collaxa.cube.engine.delivery> <DeliveryService::handleCallback> Activity for conversat
ion MD5{2fde76181d5fe21d621a43444cc2e4d3} has been closed ... marking message d91cbb6d4f175ff0:6fa9fc:107fcbcea7e:-7f50 as cancelled.
But i can't understand what is happeening because it doesn't happens all the time
Here is my source code
public void completeTask(IWorklistTask pTask,String asignee,String password,String action)throws Exception{
WorklistService wlSvc =WorklistService.getWorklistService();
IWorklistContext ctx = wlSvc.authenticateUser(user, asigneePassword);
wlSvc.updateTask(ctx,pTask);
String actionDONE = action;
wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);
thanks Nicolas Fonnegra M

Solved !!!!!!!!!!!!!!!!
The TaskActionHandler was cancelling the message delivered by the 'customTaskOperation'. Normally, for the source code I posted before, the TaskActionHandler receives two messages, one from the updateTask and another from the 'customTaskOperation'. It seems that sometimes the 'customTaskOperation' messages arrive while the TaskActionHandler is still processing the updateTask messages, so the TaskActionHandler simply cancells the newly arrived ones. That is why in the worklist application you have two different actions , one for updating the info and one for completing the task, so the system avoid 'customTaskOperation' messages that arrive 'too early'.
I simply put a delay between the two operations and it worked fine.
wlSvc.updateTask(ctx,pTask);
String actionDONE = action;
Thread.sleep(3000); // I haven't tried with less time,but with 3 seconds works great
wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);
thanks Nicolas Fonnegra M.

Similar Messages

  • Error submitting tasks: Operation could not be completed within the specified time

    I've created a Batch Application and I'm having an issue running a job.  Its suppose to synchronize 2 azure blob containers.
    In my JobSplitter, I compare 2 azure blob containers and find the files in the first container that need to be copied over to the second one.  Just figuring out which files to copy over can take about 5 to 6 minutes the first time this is run depending
    on the number of files that need to get copied over.
    Once we have the files that need to be copied, we group them into sets and create a task for each set.
    The exe that the TaskProcessor runs doesn't do anything just yet. All it does is write the arguments sent to it into a file. Nothing major.
    On the last run, about 900 tasks were created. Four of the tasks completed successfully. I can download the output files for them just fine. The next 4 tasks failed with an error.
    Looking in the JobLogs, I see this:
    The job orchestrator finished
    Failed to process job ac8dd4a3-d882-4ec1-847d-48844fa3e1f4: Error submitting tasks: Operation could not be completed
    within the specified time. RequestId:27eab612-c8ce-4e4b-8dfb-00e7024c71ec Time:2015-01-29T00:37:03.5943898Z
    Has anyone seen this before?
    Thanks,
    matt

    This error is usually a transient error, typically related to an internal storage timeout.  We're working on a fix for it.
    In the meantime, if you go into the Batch Apps portal, select the failed job and click Reprocess in the command bar, Batch Apps should re-run the failed tasks and the not-run tasks.  (Note that the tasks that already succeeded will not be re-run, and
    we will not re-run the job splitter to create new tasks.)
    Please let us know if you continue to see this problem or if reprocessing the job doesn't work for you.

  • Error when reassigning a custom task process

    Hello!
    I have an error when reassigning a custom task process.
    That is what I see at the workflow history: Task assigned to xxx was delegated by xxx. Coments: xxx
    However in the second line of the history an error is shown with the following information:
    Event type: error
    User ID: System account
    Description: An error has occurred in nameofthetask
    No new task is created for the user who the task was reassigned to.
    Any help would be appreciated

    Hi,
    From the error message, I
    guess that you come across an OOTB Approval
    Workflow.
    When you define your workflow, there is a section "Enable content Approval Workflow Activities", where you can check "Update the approval status after the workflow is completed (use
    this workflow to control content approval)". If you check this option, and you do not have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.
    Or you can go to the document library settings and go to Versioning Settings Page, set "Require content approval for submitted items to?" to yes and everything should be fine.
    Refer to  the following blogs about the similar issue:
    http://mossnwss.blogspot.com/2008/10/workflow-error-system-account-error-has.html
    https://sharepointtechs.wordpress.com/2011/11/18/workflow-error-an-error-has-occurred-in-approval/
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/en-US/fff5ee1f-904b-4a95-989f-c5a079cdf666/workflow-error-system-account-an-error-has-occured-after-workflow-completed-moss-2007?forum=sharepointcustomizationlegacy
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error while executing custom task.

    Hello All,
    I am testing my custom task in the workflow. I get the following error: "Error when accessing method properties" when the workflow starts executing my custom task.
    Any help is appreciated.
    Thanks and Regards.
    Srinivas

    Hi Sudhi,
      Here is the error from the technical details of the workflow log:
    "Method container for work item cannot be created"
    "Error when accessing method properties (TS90700187)"
    "Component CREATENBOBJECT does not exist"
    CREATENBOBJECT was the original method in my custom class ZCL_HRMSS_RECRUITING_WF

  • A custom task sequence to install software is always listed as Operating System on Software Center

    Hello,
    I have built several custom task sequences to install software in SCCM 2012 R2 CU1 environment, but the type of task sequence is always listed as Operating System on the Software Center. I tried creating a simple task sequence (Task Sequence 1) that contains
    a single restart computer step only and tried deploying it to a test machine. This task sequence is also listed as Operating System. This task sequence fails because this is not the one for OS install and I do not specify a boot image for this task sequence.
    All task sequences that I have created in SCCM 2012 RTM environment are working as expected. All task sequences that I create in SCCM 2012 R2 CU1 are listed as Operating System regardless of its actual type (I upgraded my environment from CM2012 RTM to CM2012
    R2 CU1 last month).
    Here is a test task sequence that contains a single step of restart computer. This is not Operating System install but listed as Operating System. Any thoughts?

    If you use OSD steps in your task sequence you will get this prompt.
    http://social.technet.microsoft.com/Forums/en-US/3eb7569c-0b5a-4b40-86c3-d4f092c70aca/task-sequence-warning?forum=configmanagerosd
    Per Mikko:
    Using any of following steps (and possibly others as well, I did not check all of them) will change the task sequence type from generic to OSD:
    General - Join Domain or Workgroup
    General - Restart Computer (Only "The boot image assigned to this task sequence" option)
    Disks - Format and Partition Disk
    User State - Request State Store
    User State - Release State Store
    Images - Apply Operating System Image
    Images - Setup Windows and ConfigMgr
    Daniel Ratliff | http://www.PotentEngineer.com

  • Workspace customized dashboards: Error in the operation

    Hello
    i'm trying to figure out more about what can be done with the workspace dashboards and while i try to configure new graphics, after aplying the changes i sometimes see a popup:
    "Error:
    Error in the operation"
    (or something like that, the software is installed in portuguese). This is all the popup message says.
    This mesage also occurs when, from a graphic in one of the pannels, i try to communicate with a process list. I have the communication configured, but when i click in one area of the graphic pie it returns this very same error instead of drilling down the process on the list for me.
    Where can i find more detailed information about the real error?
    Thank you in advance.
    Edited by: user1997568 on 21/10/2010 09:42

    Download the patch from Oracle support..

  • ERROR: The Propagation operation ended in error. java.lang.reflect.Undeclar

    Dear all,
    i am using bea weblogic 10.0 ant i am downloading the running Inventory.
    but the below problem occurc when i run ant task for downloading that is
    ant -buildfile propagation_ant.xml downloadSrc the below problem occurs. i am new to bea so how can i debug the problem
    VERBOSE: InventoryTreeWalker: visiting node: Application:ContentServices:BEA Repository:ContentNodes:Webmasters:Sports:I won`t step down from presidency Khan.txt
    ERROR: The Propagation operation ended in error.
    java.lang.reflect.UndeclaredThrowableException
    at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
    at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
    at $Proxy54.policyExists(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
    at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
    at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
    at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
    at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
    at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
    at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
    at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    ERROR: The Propagation operation ended in error.
    java.lang.reflect.UndeclaredThrowableException
    at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
    at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
    at $Proxy54.policyExists(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
    at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
    at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
    at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
    at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
    at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
    at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
    at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?

  • Cisco SG300 HOSTP_flash_operation: fatal error during read operation!

    I have 2 Cisco SG300-52P switches.   Earlier this week, one of them started dropping connections and POE was not working on a couple of devices...  I came in this morning to restart them when no one else was around. After restarting them, the troublesome one was still not detecting POE devices.  
    I have been waiting for some down time to do a firmware update, so I thought this might straighten things out.  I Downloaded the updated bootloader and firmware from Cisco's site.  Updating the (non-problem) SG300 went exactly as it should.  Upgrading the the bootloader on the problem SG300 went exactly as it should.  Started the firmware update on the problem switch ....... and it didn't come back online.  The power light was flashing, and occasionally the lights on ports would blink like they were trying to reset, but they never made it.   There weren't really any special configurations on this switch so I had nothing to lose by trying a factory reset via the pinhole on the front ...... same result.
    I connected to the serial port via a win7 PC with putty. .. All setting per Cisco. I got a message that the connection was detected, but it would not accept keyboard input.  I power cycled the SG300 and watched the messages go by ... It looked like everything was working.  I even got a message that the "Initialization task was completed"..
    Then this message "HOSTP_flash_operation: fatal error during read operation!"
    We have had a couple of internet and power outages recently, but I am trying to rule out other issues before blaming it on that. 
    any suggestions?
    putty output file attached

    I am not familiar with SG series products, but looking at the error message in the attached file, it appears there is an issue with reading from the flash.  It could be that the flash file is corrupted and the flash needs to be formatted and then reload the software again.
    If you have support contract on the product, I would suggest you open a TAC ticket with Cisco and have them help you.
    HTH

  • Customer specific operation in RPTIME01

    Hi all,
    We are looking for a cookbook or general instructions for creating customer specific operations in report RPTIME01.
    Any help will be appriciated.
    Thank you,
    David

    Hi David,
    While running the Time Eval with your schema, PL select the Program Option 'Display Log' and check whta the log says. It should say where/what the error is.. Are you getting the 'No data selected' message?
    Good Luck,
    Suresh Datti

  • Cannot see my custom task in SSIS toolbox

    I followed the guide here https://msdn.microsoft.com/en-us/library/ms403361.aspx to build a custom task without a UI. It is a very simple task to compress a set of files. I built the dll without error then add it to gac and copy to C:\Program Files\Microsoft
    SQL Server\110\DTS\Tasks then restart VS 2012 and load up my ETL but I dont see my new custom task in the SSIS toolbox.
    On my server i have both C:\Program Files\Microsoft SQL Server\110\DTS and C:\Program Files (x86)\Microsoft SQL Server\110\DTS which I found a bit weird but even if i put by dll in both folders I still dont see my task.
    Hope anyone can help.
    BTW, if I have msdn subscription, how can I get support from MS ?

    Answering my own question : custom task class was not declared public :D

  • How to add custom sql operations in Database adapters?

    I have a database adapter in ESB configured with insert, update and select operations.
    I wanted to add another select operation with pure sql. When I added the operation it gave me error "Start of the root element expected" while registering the service.
    Can't we do like this?
    I use SOA suite 10.1.3.4.
    - Sam

    Hi Thanks for reply.
    There is an option while configuring the DB adapter "Execute Custom SQL" where you can specify the query you want to execute. It will generate the schema as per the query you enter in the wizard.
    I have created adapters with this type of custom SQLs and even I have put multiple operations in the same adapters where all use Custom SQL and they are working fine.
    Thease custom SQL operations can be anything insert, update, select and they even work with other operations using procedures in the same adapter. But yes we need to modify the WSDL manuallly.
    My problem was that when I try to add the custom SQL operation in the adapter which is configured with normal select, insert and update operation, I was getting the error mentioned.
    - Sam

  • Problems with Assign Task operation

    I'm having a problem with the Assign Task operation. When I export an application of the LiveCycle ES2 environment and import into another environment LiveCycle ES2, my process get stalled in the all Assign Task operations, and the only way to solve the problem I found is to redo all the Assign Task operations. But in an application with many Assign Task operations, this solution becomes very complicated.
    Anyone who has encountered this problem could help me better to fix it?
    Thanks for any help!
    Following is the error message:
    StackTrace:
    java.lang.NullPointerException
    at com.adobe.idp.taskmanager.dsc.util.UserManagerUtils.getUserOID(UserManagerUtils.java:959)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createTaskFromDialogPropertie s(UserServiceImpl.java:941)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1631)
    at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1506)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
    at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy378.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
    at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
    at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
    at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
    at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
    at java.lang.Thread.run(Thread.java:619)

    Hi javier,
    1. record = <DATOS>
    If possible, try to use
    a pre-defined strucure of type P9069
    for putting data into this infotype.
    2. Avoid using field symbols.
    3. Try with P9069
    regards,
    amit m.

  • Custom task process

    Hallo Everyone,
    I have a reusable workflow which is based on custom content type. In this workflow iam creating a custom Task process when a condition is satisified. This custom task process creates a new task list and create a task there but i have a custom Task list created
    from visual studio and i want to create task in this task list. 
    Anyone knows how to do this ?. 
    Thank you.

    Hi,
    You need to change TemplateType and Type form “10000” to "107", then the custom task list will be appeared.
    The result is as below:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="List1"
    OnQuickLaunch="TRUE"
    TemplateType="107"
    Url="Lists/List1"
    Description="My List Instance">
    </ListInstance>
    </Elements>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="List1"
    Type="107"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="360"
    DisplayName="List1"
    Description="My List Definition"
    Image="/_layouts/images/ittask.png"/>
    </Elements>
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error APPX0002: Task 'ValidateAppxPackage' failed. Value cannot be null.

    Hi, I have been working on Windows Phone apps, and have created several packages and submitted them to the store. Starting today, for no apparent reason, I can't create packages for the store any more. When creating the Store package, using Visual Studio
    2013 Ultimate Update 4, build fails with this error:
    Error APPX0002: Task 'ValidateAppxPackage' failed. Value cannot be null.
    I have not been able to fix this. I've tried:
    - uninstalling and reinstalling Visual Studio
    - rebooting
    - deleting the Package.StoreAssociation.xml in the file (but it cannot be recreated).
    I am able to compile and run the project, but it fails when creating the store package to submit to dev center.
    Any suggestions?
    Here is the detailed compile report:
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error APPX0002: Task 'ValidateAppxPackage' failed. Value cannot be null.
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error APPX0002: Parameter name: source
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error APPX0002: 
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018: The "ValidateAppxPackage" task failed unexpectedly.
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018: System.ArgumentNullException: Value cannot be null.
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018: Parameter name: source
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector,
    IEqualityComparer`1 comparer)
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.AppxPackage.DumpResourceIndexMap..ctor(ITaskItem[] indexedPayloadFiles)
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxPackage.CheckImages()
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxPackage.ExecuteImplementation()
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute()
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxPackage.Execute()
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
    1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1706,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    el_ber

    Hi el_ber,
    From your information, I see that you used VS2013. Could you please tell us how did you build the project? Using VS directly, using command line or writing a script to involve MSBuild to run it? I guess you used the command line or write a build script to
    run the project because I see the path is "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0" instead of "C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe". If that is the case, please use "C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe"
    to build the project.
    If not, can you reproduce this issue? If you can, please provide us with the steps to reproduce this issue or provide us with a sample project on onedrive.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DAC parameter error preventing task from running

    Hi All,
    Please see below this error which is preventing a SIL from running, I've never seen this one before, not sure if it's a config error or programatic/environment related.
    I'm particularly puzzled by the file name being repeated three times?
    This is the last task in a small batch of custom tasks, all the others have run through OK.
    Error Message : Usage error. You passed the wrong parameters to pmcmd.
              Command Used: pmcmd startworkflow -sv BIA_IS_DEV01 -d domain_udapbia3 -u Administrator -p **** -f Custom_SILOS -lpf /u01/oracle/biapps/dac/Informatica/parameters/DataWarehouse.DataWarehouse.Custom_SILOS.Custom_SIL_ InboundCalls.txt Custom_SIL_ InboundCalls.txt Custom_SIL_ InboundCalls.txt
    Thanks,
    Ed

    In the pmcmd command workflow name followed by parameter file.
    Just in case check the task config in dac.
    There might be chances for copying twice for task command like 'Custom_SIL_ InboundCalls.txt' and that is repeating and the most important to check is your task name or workflow name having space after SIL_
    If above are correct then try this
    replace -lpf with -paramfile in file infa_command.xml and try to run the load
    for more details read the file comments from file.
    You can find the file from location orahome\10gR3_1\bifoundation\dac\conf\infa_command.xml
    or
    http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e14849/app_troubleshoot.htm#BCEGDDIB
    If helps pls mark else update

Maybe you are looking for