Free Support Forum - aspose.cloud

Help ! Failed convert file PDF to Word when use Cloud API

Hi all,
I try build project example https://github.com/aspose-words-cloud/aspose-words-cloud-android (I changed AppId & ApiKey).
When press button convert:
java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String com.google.gson.JsonElement.toString()’ on a null object reference
W/System.err: at com.aspose.words.cloud.ApiClient.handleResponse(ApiClient.java:877)
at com.aspose.words.cloud.ApiClient.execute(ApiClient.java:787)
at com.aspose.words.cloud.api.WordsApi.convertDocumentWithHttpInfo(WordsApi.java:860)
at com.aspose.words.cloud.api.WordsApi.convertDocument(WordsApi.java:837)
W/System.err: at com.example.asposewordscloudandroid.MainActivity$onActivityResult$1.run(MainActivity.kt:131)

Thank and best regards !

A post was merged into an existing topic: Failed when convert file PDF to Word