[Bug xml/29362] NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 6 19:21:00 GMT 2006
------- Comment #5 from tromey at gcc dot gnu dot org 2006-10-06 19:21 -------
Created an attachment (id=12391)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12391&action=view)
proposed patch
This patch makes the crash go away.
The bug is that strip() unconditionally uses 'stylesheet', but in
our case this is null.
I have no idea if this patch is correct. Another plausible approach
would be to check stylesheet!=null before using it in strip().
I'd appreciate it if someone could look at this rather quickly. It
breaks Eclipse in FC6.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29362
More information about the Java-prs
mailing list