I am debugging an Java standalone application and some servlets in
I am using tomcat5.5 and jre1.5.0.
There is a file, called FlowChart.java, which will be used in the
Java standalone application and also used (called) by a servlet.
public class FlowChart extends JComponent implements
When I debug the Java standalone application in eclipse, the
createImage() returns a non-null pointer. But when I debug the
servlets in eclipse, createImage() returns a null pointer.
One reason I guess is that eclipse uses its own libraries and
compiler to debug the standalone application, while the servlets are
debugged by using external jre1.5.0. There is some difference between
the jre1.5.0 and the eclipse's coming-with libraries. Is it true?
I have stucked on this problem for a long time.
Highly appreciate anyone giving me a way out!