Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message/exception when server connection parameters are wrong should be more informative #17

Closed
myrle-krantz opened this issue Dec 14, 2015 · 1 comment
Milestone

Comments

@myrle-krantz
Copy link

Exception in thread "main" com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Not a JSON Object: "Welcome"
at com.google.gson.Gson.fromJson(Gson.java:826)
at com.google.gson.Gson.fromJson(Gson.java:779)
at com.google.gson.Gson.fromJson(Gson.java:728)
at org.stellar.sdk.requests.ResponseHandler.handleResponse(ResponseHandler.java:45)
at org.apache.http.client.fluent.Response.handleResponse(Response.java:90)
at org.stellar.sdk.requests.AccountsRequestBuilder.execute(AccountsRequestBuilder.java:35)
at org.stellar.sdk.requests.AccountsRequestBuilder.execute(AccountsRequestBuilder.java:39)
at org.mifos.connector.stellar.SendTransaction.main(SendTransaction.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

@nullstyle nullstyle added this to the v0.7.0 milestone Apr 17, 2019
@nullstyle nullstyle self-assigned this Apr 17, 2019
@overcat
Copy link
Member

overcat commented Nov 7, 2023

Since this issue has been inactive for a long time and a lot of things have changed, I decided to close it. If there are any further issues later on, feel free to reopen it.

@overcat overcat closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants