Skip to content

Bug running Binary Watch #10

@brunoamuniz

Description

@brunoamuniz

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions