0 Replies Latest reply: Aug 30, 2013 4:18 AM by NilsBeosier RSS

    Grab/Migrate fails

    NilsBeosier

      Hi All,

       

      After having installed an updated version of a process I'm trying to migrate a single instance to the new version.

      Since the instance is in Pending Migration I see the button "Migrate".

       

      When I click this the system is busy for a while and ends up with an error "Error while getting Grab / Migrate context for the selected process instance(s)".

      After looking in the log it turns out it the exceptino is a EJBTransactionRolledBackException based on a NullpointerException

       

      Aug 30, 2013 10:15:37 AM CEST> <Error> <oracle.bpm.services.instanceQuery> <BEA-000000> <Exception

      javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException

        at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:823)

        at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:517)

        at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)

      ..

      Caused By: java.lang.NullPointerException

        at oracle.bpm.project.interfaces.ConversationHelper.getReferenceNameFrom(ConversationHelper.java:96)

        at oracle.bpm.bpmn.engine.model.runtime.util.ConversationUtils.getServiceLinkName(ConversationUtils.java:305)

        at oracle.bpm.bpmn.engine.model.runtime.util.ConversationUtils.getServiceLinksFromConversations(ConversationUtils.java:262)

        at oracle.bpm.bpmn.engine.model.blocks.BPMNProcessBlock.<init>(BPMNProcessBlock.java:124)

      ..

      <Aug 30, 2013 10:15:37 AM CEST> <Error> <oracle.bpm.services.instanceQuery> <BEA-000000> <Exception

      exception.70412.type: error

      exception.70412.severity: 2

      exception.70412.name: Error while migrating process instance

      exception.70412.description: Error while creating migrate instance response

      exception.70412.fix: Contact Oracle support if exception can not be fixed

       

       

      javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException

        at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:823)

        at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:517)

        at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)

        at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)

        at oracle.bpm.bpmn.engine.ejb.impl.BPMNInstanceManagerBean_j9rppc_IBPMNCubeInstanceManagerLocalBeanImpl.getValidTargets(Unknown Source)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

      The exception.70412 corresponds to BPM_INSTANCEQUERYSERVICE_CREATE_MIGRATEINSTANCE_CTX baically meaning that it can't create a migration context.

      I can't seem to find any more information that would indicate an issue.

      We are running 11.1.1.6.0, upgrade to PS6 is not an option for the moment.

       

      Anyone has any ideas?

      Thanks.