tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler TldLocationsCache.java
Date Sat, 22 Jun 2002 16:47:55 GMT
jfclere     2002/06/22 09:47:55

  Modified:    jasper/src/share/org/apache/jasper/compiler
                        TldLocationsCache.java
  Log:
  Prevent nullpointerexception when wrong configuration.
  Submitted by:	Ian Darwin ian at darwinsys.com
  
  Revision  Changes    Path
  1.11      +4 -0      jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/TldLocationsCache.java
  
  Index: TldLocationsCache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/TldLocationsCache.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TldLocationsCache.java	2 Apr 2002 16:10:39 -0000	1.10
  +++ TldLocationsCache.java	22 Jun 2002 16:47:55 -0000	1.11
  @@ -200,6 +200,10 @@
       {
   
           Set libSet = ctxt.getResourcePaths("/WEB-INF/lib");
  +        if (libSet == null) {
  +            System.err.println("processJars: cannot find /WEB-INF/lib");
  +            return;
  +        }
           Iterator it = libSet.iterator();
           while (it.hasNext()) {
               String resourcePath = (String) it.next();
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message