Errors occurred: org.apache.jasper.JasperException: Exception in JSP: /Painters/gallery/Gallery.jsp:137 134: 135: 136: 137: for ( ListIterator in = photoItemList.listIterator();in.hasNext();) 138: { 139: //debug remove 140: //System.out.println("currentCount++;" + String.valueOf(currentCount)); Stacktrace: