-
Bug
-
Resolution: Done
-
High
-
Frankfurt Release
-
None
-
None
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)