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

Janice Price API: JsonSyntaxException #469

Open
GoldenGnu opened this issue Jun 9, 2024 · 0 comments
Open

Janice Price API: JsonSyntaxException #469

GoldenGnu opened this issue Jun 9, 2024 · 0 comments
Labels
api 3rd party API bug Defect

Comments

@GoldenGnu
Copy link
Owner

ERROR: 2024-06-08 09:15:36,699 [Price Fetching 1] uk.me.candle.eve.pricing.impl.Janice - Error fetching price
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
	at com.google.gson.Gson.fromJson(Gson.java:1003)
	at com.google.gson.Gson.fromJson(Gson.java:956)
	at com.google.gson.Gson.fromJson(Gson.java:905)
	at uk.me.candle.eve.pricing.impl.Janice.fetchPrices(Janice.java:153)
	at uk.me.candle.eve.pricing.AbstractPricing$PriceFetchingThread.run(AbstractPricing.java:458)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
	at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:350)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
	at com.google.gson.Gson.fromJson(Gson.java:991)
	... 4 common frames omitted
@GoldenGnu GoldenGnu added bug Defect api 3rd party API labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api 3rd party API bug Defect
Projects
None yet
Development

No branches or pull requests

1 participant