1
0
-1

I have uploaded a vFW and created a service instance based on the tutorial - Tutorial: Onboarding and Distributing a Vendor Software Product (VSP).  I used POSTMAN to create an account as per the tutorial - Tutorial_vIMS: Create AAI cloud account.  
However when I try to create a service instance in VID, I get the following error in the VID UI.

07/18/17 10:25:05 HTTP Status: Unknown (502)
{
  "serviceException": {
    "messageId": "SVC2000",
    "text": "Request Failed due to BPEL error with HTTP Status= %1 \nError occurred while executing the process: org.camunda.bpm.engine.exception.NullValueException: no processes deployed with key 'CreateServiceInstance': processDefinition is null",
    "variables": [
      "502"
    ]
  }
}

and when I look at the MSO BPMN log file I see the corresponding error:

2017-07-18T09:25:05.351Z|4fb5491b-40b5-49e3-8461-db8e12101f01|ENGINE-16004 Exception while closing command context: no processes deployed with key 'CreateServiceInstance': processDefinition is null

org.camunda.bpm.engine.exception.NullValueException: no processes deployed with key 'CreateServiceInstance': processDefinition is null

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131]

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131]

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131]

	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131]

	at org.camunda.bpm.engine.impl.util.EnsureUtil.generateException(EnsureUtil.java:334) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:49) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:44) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache.findDeployedLatestProcessDefinitionByKey(DeploymentCache.java:134) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd.findByKey(GetDeployedProcessDefinitionCmd.java:84) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd.find(GetDeployedProcessDefinitionCmd.java:71) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd.execute(GetDeployedProcessDefinitionCmd.java:53) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:43) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104) ~[camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66) [camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) [camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.executeWithVariablesInReturn(ProcessInstantiationBuilderImpl.java:156) [camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:122) [camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:118) [camunda-engine-7.6.0.jar:7.6.0]

	at org.camunda.bpm.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:97) [camunda-engine-7.6.0.jar:7.6.0]

	at org.openecomp.mso.bpmn.common.workflow.service.WorkflowAsyncResource$ProcessThread.run(WorkflowAsyncResource.java:158) [MSOCommonBPMN-1.1.0.jar:na]


I am using ONAP version 1.1.  Any suggestions what is wrong?  Do I need to load a BPEL process definition?

Thanks

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      An JIRA ticket was opened for this issue and workaround from Catherine was provided there to update SO database

      SO-21 - MSO returning error to VID during create service instance Closed

        CommentAdd your comment...