A null pointer exception occurs when accessing the page in the project, but it does not affectProgramRun and debug JS with firebug. It is found that an invalid image path in CSS is caused, and this exception is also related to the container used.Resin is related. The following are the causes and solutions for exceptions.Bytes:
Resin does not have a jar package that integrates xalan to parse XML. Therefore, a null pointer exception occurs when getxml () is used. Solution: Download xalan from the Internet. jar, xercesimpl. jar, xml-apis.jar, xmlparserapis. jar: place the jar package in \ jdk1.6.0 _ 02 \ Lib \ endorsed. If the endorsed does not exist, add the jar package to the classpath PATH % java_home % \ Lib \ endorsed \ xalan. jar; % java_home % \ Lib \ endorsed \ xercesimpl. jar; % java_home % \ Lib \ endorsed \ xml-apis.jar; % java_home % \ Lib \ endorsed \ xmlparserapis. jar;
Restart resin !!!