Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

Game sometimes crashes when starting #5

Open
powellcj12 opened this issue May 14, 2014 · 0 comments
Open

Game sometimes crashes when starting #5

powellcj12 opened this issue May 14, 2014 · 0 comments
Labels

Comments

@powellcj12
Copy link
Owner

There's an inconsistent, rare crash when starting the game that results in the following stack trace:

java.lang.IndexOutOfBoundsException: Index: 121806, Size: 121806
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at HangmanLexicon.getWord(HangmanLexicon.java:34)
    at Hangman.pickWord(Hangman.java:66)
    at Hangman.<init>(Hangman.java:41)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:357)
    at java.lang.Class.newInstance(Class.java:310)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:806)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:713)
    at sun.applet.AppletPanel.run(AppletPanel.java:369)
    at java.lang.Thread.run(Thread.java:695)
@powellcj12 powellcj12 added the bug label May 14, 2014
aeysaman added a commit to aeysaman/hangman that referenced this issue May 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant