I have a problem with org.apache.xalan.processor.TransformerFactoryImpl.newTeplates( StreamSource ) method throwing a NullPointerException when I create my bean using the Spring Framework, but not when creating it through a simple main program.
I'd be happy if anyone knew what might be causing that, but that's not my real question. I decided to try debugging this by downloading the source code, and tracing into the Xalan code to find out what line was causing the problem. I'm using Eclipse 3.1.0 and JDK 1.4.2. The real problem is, I don't know how to make eclipse/the JRE to use the source code I compiled instead of the xalan.jar that is packaged into rt.jar as part of the JRE. I am familiar with the -Djava.endorsed.dirs, but this didn't seem to help me get at the source code. Also, when I try to set a breakpoint in the Xalan source, I get a message saying eclipse can't set it because there is no line number attribute information, even though my compiler settings are set to create them. In short, what's the best way to debug into the Xalan source using eclipse? --CB
