Guess what. this is JDK 1.5 (and 1.6 as well) source code:
sun/security/provider/JavaKeyStore.java:
try {
if (numOfCerts > 0) {
entry.chain = new Certificate[numOfCerts];
}
} catch (OutOfMemoryError e) {
throw new IOException("Too many certificates in chain");
}
This means that if you see this weird exception then your are just running low on memory.
Took me too much time to figure out. :)
Good luck to all.
Mikler ;)
Friday, September 26, 2008
Subscribe to:
Posts (Atom)