org.wso2.carbon.apimgt.api.APIManagementException: Failed to import endpoint http://localhost:8999/acton/publicapi/1 to registry

Stack Overflow | Todd Ferris | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    API edit fails for upgraded API after upgrading to APIM 1.10

    Stack Overflow | 9 months ago | Todd Ferris
    org.wso2.carbon.apimgt.api.APIManagementException: Failed to import endpoint http://localhost:8999/acton/publicapi/1 to registry

    Root Cause Analysis

    1. org.wso2.carbon.apimgt.api.APIManagementException

      Failed to import endpoint http://localhost:8999/acton/publicapi/1 to registry

      at org.wso2.carbon.apimgt.impl.utils.APIUtil.createEndpoint()
    2. org.wso2.carbon
      APIProviderHostObject.jsFunction_updateAPIDesign
      1. org.wso2.carbon.apimgt.impl.utils.APIUtil.createEndpoint(APIUtil.java:1449)
      2. org.wso2.carbon.apimgt.impl.APIProviderImpl.updateApiArtifact(APIProviderImpl.java:945)
      3. org.wso2.carbon.apimgt.impl.APIProviderImpl.updateAPI(APIProviderImpl.java:747)
      4. org.wso2.carbon.apimgt.impl.UserAwareAPIProvider.manageAPI(UserAwareAPIProvider.java:73)
      5. org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.saveAPI(APIProviderHostObject.java:952)
      6. org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsFunction_updateAPIDesign(APIProviderHostObject.java:790)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Rhino
      OptRuntime.call1
      1. org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
      2. org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
      3. org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
      3 frames