Errors occurred: org.apache.jasper.JasperException: Exception in JSP: /Painters/gallery/Gallery.jsp:122 119: 120: 121: 122: for ( ListIterator in = photoItemList.listIterator();in.hasNext();) 123: { 124: //debug remove 125: //System.out.println("currentCount++;" + String.valueOf(currentCount)); Stacktrace: