Search:

Type: Posts; User: EasyE

Search: Search took 0.10 seconds.

  1. Re: java.land.IndexOutOfBoundsException: Index -1 out-of-bounds for length 0

    The problem was with with PolyFile.txt and the addTerm() inside the class Polynomial.java.

    so the original PolyFile.txt I had was:
    4.0 3 2.5 1 8.0
    5.0 4 5.0
    4.0 4 5.7 2 8.6

    and the...
  2. Re: java.land.IndexOutOfBoundsException: Index -1 out-of-bounds for length 0

    null is printing at Main.java:56 inside the processPolyList(). I think the problem is with Main.java:54



    public static void processPolyList() {
    try {
    ArrayList<String> a = fromFile();
    ...
  3. java.land.IndexOutOfBoundsException: Index -1 out-of-bounds for length 0

    SOLVED

    My Exception is thrown at Main.java:42 and I have racked my brain trying to figure out how to fix it


    Output



    null
Results 1 to 3 of 3