Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2556

SO requests are not executing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: Frankfurt Release
    • Fix Version/s: Frankfurt Release
    • Component/s: None
    • Labels:
      None

      Description

      Reported on SB00 in WindRiver:  I don't get to see SO requests going out at least according to the logs, and I see exceptions. The control loop name is LOOP_testScaleOut.

      Examining the logs, we find that it didn't attempt the SO operation, because it failed while while building the guard request, while extracting the VF modules from the AaiCqResponse.  A number of exceptions were generated in the error.log, including these:

       

       

      Caused by: java.lang.NullPointerException: null
       at org.onap.policy.aai.AaiCqResponse.getGenericVnfs(AaiCqResponse.java:305)
       at org.onap.policy.aai.AaiCqResponse.getAllVfModules(AaiCqResponse.java:490)
       at org.onap.policy.aai.AaiCqResponse.getVfModuleCount(AaiCqResponse.java:588)
       at org.onap.policy.controlloop.actor.so.SoOperation.storeVfCount(SoOperation.java:173)
      

       

       

      Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 0
       at org.eclipse.persistence.internal.oxm.record.XMLReaderAdapter$IndexedAttributeList.getValue(XMLReaderAdapter.java:307)
       at org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl.getNonAttributeXPathNode(UnmarshalRecordImpl.java:1300)
      ...
       at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:355)
       at org.onap.policy.aai.AaiCqResponse.getAaiObject(AaiCqResponse.java:216)
       at org.onap.policy.aai.AaiCqResponse.extractGenericVnf(AaiCqResponse.java:137)
      

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            jrh3 Jim Hahn
            Reporter:
            jrh3 Jim Hahn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: