juancnuno/maxavailable

Exception in thread "main" java.lang.IllegalStateException: JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. But current parser state is KEY_NAME

Closed this issue · 0 comments

Exception in thread "main" java.lang.IllegalStateException: JsonParser#getObject() or JsonParser#getObjectStream() is valid only for START_OBJECT parser state. But current parser state is KEY_NAME
	at org.eclipse.parsson@1.1.5/org.eclipse.parsson.JsonParserImpl.getObject(JsonParserImpl.java:150)
	at com.juancnuno.maxavailable/com.juancnuno.maxavailable.CategoriesResponseParser.getCategoryGroup(CategoriesResponseParser.java:56)
	at com.juancnuno.maxavailable/com.juancnuno.maxavailable.CategoriesResponseParser.findCategoryGroup(CategoriesResponseParser.java:47)
	at com.juancnuno.maxavailable/com.juancnuno.maxavailable.CategoriesResponseParser.getMaxAvailable(CategoriesResponseParser.java:26)
	at com.juancnuno.maxavailable/com.juancnuno.maxavailable.MaxAvailable.getMaxAvailable(MaxAvailable.java:29)
	at com.juancnuno.maxavailable/com.juancnuno.maxavailable.MaxAvailable.main(MaxAvailable.java:23)