Could you also send the stack trace in, please? To the mailing list.
( you can join from the top page of tech.html of JSX)
It sounds like a bug in applets - maybe you could check Sun's
Another workaround is to fix this is to explicitly set the classloader before
I could also change JSX to check for a "null" classloader, and fetch a
different classloader itself. But I'd like to know if this is a bug in applets
or not first....
tel: +61 3 9905 1502 project: www.jsx2.com
----- Original Message -----
From: "Artur Niewiadomski" <artge@...>
Sent: Monday, March 24, 2003 9:28 AM
> Try to deserialize a class from an applet.
> (After setting java policies of course).
> A NullPointerException is thrown, when a method resolveClass of ObjIn is
> In applet Thread.currentThread().getContextClassLoader() returns null.
> The same expression (and exception) I've found in SUN's XMLEncoder class.
> Fortunately when this line is disabled, and the previous line is uncomment
everything is ok.
> Artur Niewiadomski
> Akademia Podlaska w Siedlcach