java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 and it's telling you the problem is on line 103 of the Troll_Machine class.

Coderanch | Tony Docherty | 12 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java coursework help with error

    Coderanch | 12 months ago | Tony Docherty
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 and it's telling you the problem is on line 103 of the Troll_Machine class.

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Index: 0, Size: 0 and it's telling you the problem is on line 103 of the Troll_Machine class.

      at Troll_Machine.getTicketData()
    2. Unknown
      Troll_Machine.getTicketData
      1. Troll_Machine.getTicketData(Troll_Machine.java:103)
      1 frame