Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-2289

[Integration] CreateVcpeResCustService_simplified workflow used in PnP PNF registration workflow returns an exception in Dmaap listener

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • El Alto Release
    • El Alto Release

    Description

      • Like in subject during test execution for PnP PNF registration has been noticed issue that Dmaap listener is not listening at PNF ready topic.
      • We noticed also that there is very small information about exception from Camunda.
      • Due to very poor log, using Camunda Modeler Sub-process for UnexpectedErrors has been removed from¬†CreateVcpeResCustService_simplified workflow and much more info about exception has been present in log
      • according to attached debug.log file it seems that:
        • Entry for PNF in AAI has been created
          2019-09-05T10:43:07.916Z|| o.o.s.b.i.pnf.delegate.CreatePnfEntryInAaiDelegate - AAI entry is created for pnf correlation id: wStFuQGujZmU7AJcdB9x, pnf uuid: 3a37b3fa-4852-4882-915c-a41cdd83e9a6
          
        • exception appear during informing Dmaap Client
          2019-09-05T10:43:07.921Z|| org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: null
          java.lang.NullPointerException: null
          	at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:889)
          	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3004)
          	at org.onap.so.bpmn.common.resource.ResourceRequestBuilder.getJsonObject(ResourceRequestBuilder.java:404)
          	at org.onap.so.bpmn.infrastructure.pnf.delegate.InformDmaapClient.createUpdateInfo(InformDmaapClient.java:64)
          .
          .
          .
          2019-09-05T10:43:07.919Z|| org.camunda.bpm.engine.context - ENGINE-16006 BPMN Stack Trace:
          	InformDmaapClient (activity-execute, ProcessInstance[f2a47172-cfc9-11e9-b1b9-f6a4cfb09ef4])
          	InformDmaapClient, name=Register in Dmaap
          	  ^
          	  |
          	AaiEntryExists, name=AAI entry exists
           
        • Fragment from Dmaap listenr code (InformDmaapClient.java) that cause this exception:
           private HashMap<String, String> createUpdateInfo(DelegateExecution execution) {
                  HashMap<String, String> map = new HashMap();
          
                  ResourceInput resourceInputObj = ResourceRequestBuilder
          
                          .getJsonObject((String) execution.getVariable("resourceInput"), ResourceInput.class);
                  map.put("globalSubscriberID", resourceInputObj.getGlobalSubscriberId());
                  map.put("serviceType", resourceInputObj.getServiceType());
                  map.put("serviceInstanceId", resourceInputObj.getServiceInstanceId());
                  return map;
              }
          

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kkuzmick Krzysztof Kuzmicki
              kkuzmick Krzysztof Kuzmicki
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: