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

Latest Firemind json feed causes exception. #563

Closed
lodici opened this issue Dec 14, 2015 · 1 comment
Closed

Latest Firemind json feed causes exception. #563

lodici opened this issue Dec 14, 2015 · 1 comment
Labels

Comments

@lodici
Copy link
Member

lodici commented Dec 14, 2015

Exception from controller.runGame: JSONObject["description"] not a string.
org.json.JSONException: JSONObject["description"] not a string.
    at org.json.JSONObject.getString(JSONObject.java:658)
    at magic.firemind.JsonOrgParser.getDeckDescription(JsonOrgParser.java:62)
    at magic.firemind.JsonOrgParser.parse(JsonOrgParser.java:37)
    at magic.firemind.FiremindJsonReader.refreshTopDecks(FiremindJsonReader.java:80)
    at magic.ui.widget.deck.DeckPicker.getDecksListData(DeckPicker.java:175)
    at magic.ui.widget.deck.DeckPicker.refreshDecksList(DeckPicker.java:155)
    at magic.ui.widget.deck.DeckPicker.access$100(DeckPicker.java:45)
    at magic.ui.widget.deck.DeckPicker$1$1.run(DeckPicker.java:131)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
@lodici lodici added the bug label Dec 14, 2015
@lodici
Copy link
Member Author

lodici commented Dec 14, 2015

caused by a null description -

...
},
"Grixis Twin": 
{
    "description": null,
    "author": "Michael",
    "link": "http://www.firemind.ch/decks/158138",
    "rating": "213",
    "releaseDate": "20151022",
    "cards": 
[
{
    "name": "Goblin Chieftain",
    "quantity": ​4
},
...

@lodici lodici closed this as completed in f2b38f9 Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant