Uploaded image for project: 'External API Framework'
  1. External API Framework
  2. EXTAPI-224

Allow for when Orchestation-Status is not poplutaed in A&AI

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Dublin Release
    • NBI

    Description

      During BBS testing we found that sometimes orchestration-status is not updated in A&AI in Dublin release. This causes a NullPointerException in NBI. This is to change NBI to handle cases when A&AI orchestration-status is not set. 

       SO is separately working on the state model to update orchestration-status, but in the meantime we need to handle cases when it is not set.

       

      019-03-22 09:57:20.837  INFO 1 — [   scheduling-1] o.o.n.a.h.s.CheckDMaaPEventsManager      : aaiEventEntityType is service-instance and action is CREATE

      2019-03-22 09:57:20.839 ERROR 1 — [   scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task.

       

      java.lang.NullPointerException: null

                     at org.onap.nbi.apis.hub.service.CheckDMaaPEventsManager.checkForDMaaPAAIEvents(CheckDMaaPEventsManager.java:129) ~[classes!/:3.0.1]

                     at org.onap.nbi.apis.hub.service.DMaaPEventsScheduler.processDMaaPEvents(DMaaPEventsScheduler.java:36) ~[classes!/:3.0.1]

                     at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) ~[na:na]

                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]

                     at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]

                     at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) ~[spring-context-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]

                     at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]

                     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_181]

                     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_181]

                     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_181]

                     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_181]

                     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_181]

                     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_181]

                     at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]

       

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            aosull01 Adrian OSullivan
            aosull01 Adrian OSullivan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: