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

Stack Overflow | Todd Ferris | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    API edit fails for upgraded API after upgrading to APIM 1.10

    Stack Overflow | 8 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