What I found out is this comment in the code:

https://github.com/onap/so/blob/3d249b7ac314a5cd59e117672d4b678d33e34c7a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java#L242-L245
 
<https://github.com/onap/so/blob/3d249b7ac314a5cd59e117672d4b678d33e34c7a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java#L242-L245>

// SERVICE-MACRO-ACTIVATE, SERVICE-MACRO-UNASSIGN, and
// SERVICE-MACRO-DELETE
// Will never get user params with service, macro will have
// to query the SI in AAI to find related instances.


I was passing user param, even though it’s a service macro activate request I’m 
doing… So I’m going through this statement: 
https://github.com/onap/so/blob/049e0e2304a7de75fc0d35aac7319e89715972a9/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java#L887-L895
 
<https://github.com/onap/so/blob/049e0e2304a7de75fc0d35aac7319e89715972a9/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java#L887-L895>
 which is the one triggering the NPE… 

I don’t know how to fix properly the logic, but it should by-pass checking the 
userparam if it’s a service macro assign request.

By not passing userParams, I was able to pass this issue.

Thanks,
Alexis


> On Oct 11, 2018, at 11:43 AM, Alexis de Talhouet <adetalhoue...@gmail.com> 
> wrote:
> 
> Hello SO team,
> 
> After having successfully assigned my service, I’m now activating it.
> During that process, I hit an NPE.
> 
> Logs and sent request are attached.
> 
> Is this a bug, or am I missing something in the request?
> 
> Thanks,
> Alexis
> 
> 
> 
> 
> <SO macro activate - failure - vFW_CDS.txt><request-activate.txt>


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12966): https://lists.onap.org/g/onap-discuss/message/12966
Mute This Topic: https://lists.onap.org/mt/27243130/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to