1
0
-1

I was successfully able to follow this tutorial Tutorial: Creating a Service Instance from a Design Model to create a service instance. But after some time the VID was unable to fetch the suscribers from AAI. The VId logs show some error in AAI. The AAI rest logs show a NullPointerException. 

VID logs: /opt/app/vid/logs/vid/error.log

2017-06-28 04:24:06,427|339d656e-4f01-4c3d-898e-ac8457a5bdd4||http-apr-8080-exec-8||/get_property/mso_max_polls/7|292b461a-2954-4b63-a3f9-f916c7ad3bc0|ERROR|INFORMATIONAL|172.17.0.3|d32775875ff7||org.openecomp.portalsdk.core.controller.MenuListController|| Failed to get shared context for usernull
2017-06-28 04:24:06,557|e79a35f3-f7c8-469d-8c25-bc7fda32edd3||http-apr-8080-exec-5||/aai_refresh_full_subscribers|292b461a-2954-4b63-a3f9-f916c7ad3bc0|ERROR|INFORMATIONAL|172.17.0.3|d32775875ff7||org.openecomp.portalsdk.core.controller.MenuListController|| Failed to get shared context for usernull
2017-06-28 04:27:10,710|b91686f8-5101-4f2c-a167-6c699642c93d||http-apr-8080-exec-10||/vidhome.htm|292b461a-2954-4b63-a3f9-f916c7ad3bc0|ERROR|INFORMATIONAL|172.17.0.3|d32775875ff7||org.openecomp.portalsdk.core.controller.MenuListController|| Failed to get shared context for usernull
2017-06-28 04:27:10,792|e79a35f3-f7c8-469d-8c25-bc7fda32edd3||http-apr-8080-exec-5||/aai_refresh_full_subscribers|292b461a-2954-4b63-a3f9-f916c7ad3bc0|ERROR|INFORMATIONAL|172.17.0.3|d32775875ff7||org.openecomp.portalsdk.core.controller.MenuListController|| Failed to get shared context for usernull


AAI Logs: /opt/app/aai/logs/rest/error.log

2017-06-28T04:27:14.292+0000|2017-06-28T04:27:14.296+0000|0a75b4d0-aa98-4a32-9836-9dbaf0366bf7||||GET|VidAaiController|AAI||ERROR|ERR.5.4.4000|Internal Error:3002:Internal Server Error:java.lang.NullPointerException:root cause=java.lang.NullPointerException ClassName- org.openecomp.aai.rest.LegacyMoxyConsumer :LineNumber- 253 :MethodName- getLegacy ClassName- sun.reflect.GeneratedMethodAccessor57 :LineNumber- -1 :MethodName- invoke ClassName- sun.reflect.DelegatingMethodAccessorImpl :LineNumber- 43 :MethodName- invoke ClassName- java.lang.reflect.Method :LineNumber- 498 :MethodName- invoke ClassName- org.apache.cxf.service.invoker.AbstractInvoker :LineNumber- 181 :MethodName- performInvocation ClassName- org.apache.cxf.service.invoker.AbstractInvoker :LineNumber- 97 :MethodName- invoke ClassName- org.apache.cxf.jaxrs.JAXRSInvoker :LineNumber- 200 :MethodName- invoke ClassName- org.apache.cxf.jaxrs.JAXRSInvoker :LineNumber- 99 :MethodName- invoke ClassName- org.apache.cxf.interceptor.ServiceInvokerInterceptor$1 :LineNumber- 59 :MethodName- run ClassName- org.apache.cxf.interceptor.ServiceInvokerInterceptor :LineNumber- 96 :MethodName- handleMessage||ERROR||127.0.0.1|4|localhost||ErrorLogHelper||||||||co=aairest:|


Thanks.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Deleting the aai-service docker container and recreating it fixes the issue. I'll leave this quesiton open for a while until I sure that this problem won't occur again.

      1. Nayan Deshmukh

        It hasn't occured since then

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Venkata Harish Kajur this might be recurring issue

        CommentAdd your comment...