Skip to Main Content

Java APIs

IndexOutOfBoundsException occurs only on certain date and time

870411Jun 21 2011 — edited Jun 21 2011
I've put together a piece of code that is used to talk to a credit board/coin validator hooked to my PC via a serial port (comm 1).

My problem is that I receive a really strange error (IndexOutOfBoundsException) that occurs only between 17th and 20th of June. If i forward the system clock to a time and date earlier or later than this date range everything works as expected?

The error outputted is: java.lang.IndexOutOfBoundsException: Index: 6144, Size: 0

Any help on this would be real plus?....

Adam
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2011
Added on Jun 21 2011
1 comment
1,177 views