tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: java.lang.ClassCastException: cannot be cast to
Date Tue, 21 Dec 2010 15:58:13 GMT
> ImageIO pins the classloader it first uses. So if that's a
> WebappClassloader & you subsequently reload the app you'll have a
> memory leak & the potential for class cast exceptions.

As I said, nobody reloads the app (at least I cannot see this in the logs).
It just happens after a while.

> The leak prevention stuff handles this, but you've turned it off.

When I active the listener I get a NPE...

Iterator it = ImageIO.getImageReadersByFormatName("TIF");
r = (TIFFImageReader); //<== NPE

Thank you!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message