been trying to figure this out for a couple days now but this is the error ive been getting after specifying where the path to the first image is.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at proRAW.getPrevImage(proRAW.java:134)
at proRAW.getImageData(proRAW.java:152)
at proRAW.retrieveData(proRAW.java:74)
at proRAW.(proRAW.java:41)
at proRAW.main(proRAW.java:387)
I'm new to programming so not sure exactly what the error is and how i can fix it

been trying to figure this out for a couple days now but this is the error ive been getting after specifying where the path to the first image is.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at proRAW.getPrevImage(proRAW.java:134)
at proRAW.getImageData(proRAW.java:152)
at proRAW.retrieveData(proRAW.java:74)
at proRAW.(proRAW.java:41)
at proRAW.main(proRAW.java:387)
I'm new to programming so not sure exactly what the error is and how i can fix it