git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@567163
13f79535-47bb-0310-9956-
ffa450edef68
@Override
public void start() throws LifecycleException {
-
// just add any jar/directory set in virtual classpath to the
// repositories list before calling start on the standard WebappLoader
StringTokenizer tkn = new StringTokenizer(virtualClasspath, ";");
- while (tkn.hasMoreTokens()) {
+ while (tkn!=null && tkn.hasMoreTokens()) {
File file = new File(tkn.nextToken());
if (!file.exists()) {
continue;