posted 21 years ago
Without knowing anything else, my hunch would be that the project uses tiles and there is a tile below the legend that has a problem.
In addition, the exception displayed is most common when a jsp is attempting to use a value that does not exist, such as trying to pull an object from request.getAttribute("value") and then calling methods on it.
A good workman is known by his tools.