You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/08/26 12:10:30 UTC
DO NOT REPLY [Bug 22725] New: -
fingerprint.jsp throws NullPointerException on Tomcat4/jdk141
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22725
fingerprint.jsp throws NullPointerException on Tomcat4/jdk141
Summary: fingerprint.jsp throws NullPointerException on
Tomcat4/jdk141
Product: Axis
Version: 1.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Deployment / Registries
AssignedTo: axis-dev@ws.apache.org
ReportedBy: tgerber@informatica.com
NullPointerException on jboss-3.2.1_tomcat-4.1.24 with JDK141 in
fingerprint.jsp in method listContextPath():
getServletConfig().getServletContext().getRealPath(path) returns null when
there's no WEB-INF/lib directory (which is a valid situation).
To work around this, I changed the method implementation to:
String realPath = getServletConfig().getServletContext().getRealPath
(path);
if (realPath != null) {
listVersions(title, out, scanDir(realPath), comment);
}