Bug - n must be possible
Posted: 28 Jan 2011, 21:14
What happended:
When starting the quest game 'Twice?!', and no deck is selected, a dialog is returned: 'Game could not be initialized'. A java.lang.IllegalArgumentException: n must be positive is written to the log file.
Before the match, the game suggest you build a deck, but it's not listed as an prerequisite.
This error can possibly be caught in the GUI before game start, by checking the 'Name player' > 'Deck' box for a null value, and either return a warning message or disbale the button
1) Apply quest 'twice?!'
2) make sure deck inputbox is empty (under Player name)
3) Click 'start game' button
Log:
http://www.filedropper.com/28012011215019
(couldn't attach with .log or .txt extension)
When starting the quest game 'Twice?!', and no deck is selected, a dialog is returned: 'Game could not be initialized'. A java.lang.IllegalArgumentException: n must be positive is written to the log file.
Before the match, the game suggest you build a deck, but it's not listed as an prerequisite.
This error can possibly be caught in the GUI before game start, by checking the 'Name player' > 'Deck' box for a null value, and either return a warning message or disbale the button
- Code: Select all
b.setEnabled ( false );
1) Apply quest 'twice?!'
2) make sure deck inputbox is empty (under Player name)
3) Click 'start game' button
Log:
http://www.filedropper.com/28012011215019
(couldn't attach with .log or .txt extension)