You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below error can be observed during API export if the swagger.json file missing from the registry.
java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:50)
at com.google.gson.JsonParser.parseString(JsonParser.java:50)
at com.google.gson.JsonParser.parse(JsonParser.java:112)
at org.wso2.carbon.apimgt.importexport.utils.APIExportUtil.exportMetaInformation(APIExportUtil.java:874)
at org.wso2.carbon.apimgt.importexport.utils.APIExportUtil.retrieveApiToExport(APIExportUtil.java:258)
at org.wso2.carbon.apimgt.importexport.APIService.exportAPI(APIService.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104)
Steps to Reproduce
Execute the following command to export the API from the publisher portal for an API that does not have the swagger.json:
Description
The below error can be observed during API export if the swagger.json file missing from the registry.
Steps to Reproduce
Execute the following command to export the API from the publisher portal for an API that does not have the swagger.json:
Affected Component
APIM
Version
2.6.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
bug
The text was updated successfully, but these errors were encountered: