tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #153 has been filed.
Date Fri, 22 Sep 2000 01:38:37 GMT
Bug report #153 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/153>

REPORT #153 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: nightly build
   JVM Release: 1.2
   Operating System: window
   OS Release: nt
   Platform: intel

Synopsis: 
tomcat.bat fails with the -f switch and no path

Description:
this works: tomcat run -f c:\some\path\my_server.xml

this doesn't: tomcat run -f my_server.xml

In the method ServerXmlHelper.getUserConfigFiles
File dir = new File(master.getParent());
has null parent if no path is specified

2000-09-21 06:55:27 - StartTomcat: Loaded config file my_server.xml
FATAL:
java.lang.NullPointerException
        at java.io.File.<init>(File.java:185)
        at org.apache.tomcat.helper.ServerXmlHelper.getUserConfigFiles(ServerXml
Helper.java, Compiled Code)
        at org.apache.tomcat.task.StartTomcat.prepareContextManager(StartTomcat.
java, Compiled Code)
        at org.apache.tomcat.task.StartTomcat.execute(StartTomcat.java:111)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:65)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:71)

Mime
View raw message