dcsimg

Why does Jasper crash with the java.util.EmptyStackException when I try to precompile a simple .jsp file to obtain servlet code? It happens on Windows 98 with JDK 1.3.

Serge Knystautas

Jasper does not throw an EmptyStackException, so the fault must be with the Java code in your JSP. Review your code and check that you are not iterating through an empty Collection object.