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

Bug running Binary Watch #10

Open
brunoamuniz opened this issue Aug 17, 2021 · 0 comments
Open

Bug running Binary Watch #10

brunoamuniz opened this issue Aug 17, 2021 · 0 comments
Assignees

Comments

@brunoamuniz
Copy link

Just run the simulator, this error will appear

CAUGHT UNHANDLED EXCEPTION IN EVENT THREAD:
java.lang.NumberFormatException: For input string: "53 PM"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.totalcross.BinaryClockTC.SetHours(BinaryClockTC.java:141)
at com.totalcross.BinaryClockTC.initUI(BinaryClockTC.java:66)
at totalcross.ui.MainWindow.startProgram(MainWindow.java:501)
at totalcross.ui.MainWindow._onTimerTick(MainWindow.java:541)
at totalcross.Launcher$WinTimer$1.run(Launcher.java:358)
at totalcross.TCEventThread.privatePumpEvents(TCEventThread.java:59)
at totalcross.TCEventThread.run(TCEventThread.java:33)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants