Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-79

AAI calls like /v8/business/customers failing with 404

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Highest
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      ONAP version 1.1.0 is installed and some requests was sent on AAI for example:

      https://10.6.140.43:8443/aai/v8/business/customers

      but it fails with 500 error. Even if is added in request header: "X-FromAppId", "AAI"  and auth:  AAI:AAI I observed in aai-resources docker container, in /opt/app/aai-resources/logs/rest/error.log the following errors:

       

      2017-07-28T08:50:30.891+0000|2017-07-28T08:50:30.892+0000|||qtp1768305536-20||||||||ERROR||172.19.0.3|1|aai-resources.api.simpledemo.openecomp.org||org.eclipse.j etty.servlet.ServletHandler$CachedChain|||||||co=:Exception occurred in invokeInterceptors(...) of InterceptorFilter :
      java.lang.NullPointerException: null
      at org.openecomp.aai.logging.LoggingContext.requestId(LoggingContext.java:118)
      at org.openecomp.aai.interceptors.PreAaiAjscInterceptor.allowOrReject(PreAaiAjscInterceptor.java:48)
      at ajsc.filters.InterceptorFilter.invokeInterceptors(InterceptorFilter.java:204)
      at ajsc.filters.InterceptorFilter.doFilter(InterceptorFilter.java:96)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at com.att.ajsc.csi.writeablerequestfilter.WriteableRequestFilter.doFilter(WriteableRequestFilter.java:41)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      at org.eclipse.jetty.server.Server.handle(Server.java:497)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      at java.lang.Thread.run(Thread.java:745).

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                michaelobrien Michael O'Brien
                Reporter:
                OlgaS Olga Surugiu
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: