tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9165] New: - null pointer ex. at startup crashes tomcat
Date Thu, 16 May 2002 16:12:48 GMT
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=9165>.
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=9165

null pointer ex. at startup crashes tomcat

           Summary: null pointer ex. at startup crashes tomcat
           Product: Tomcat 3
           Version: 3.3.1 Final
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Config
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: alberto_squassabia@hp.com


# ./tomcat.sh start
debug                                                                                    
                      
Using classpath:
/opt/java118/lib/classes.zip:/opt/jakarta-tomcat-3.3.1/lib/tomcat.jar:/opt/jakarta-tomcat-3.3.1/lib/common/etomcat.jar:/opt/jakarta-tomcat-3.3.1/lib/common/tomcat_core.jar:/opt/jakarta-tomcat-3.3.1/lib/common/core_util.jar:/opt/jakarta-tomcat-3.3.1/lib/common/connector_util.jar:/opt/jakarta-tomcat-3.3.1/lib/common/jasper-runtime.jar:/opt/jakarta-tomcat-3.3.1/lib/common/servlet.jar:/opt/jakarta-tomcat-3.3.1/lib/container/tomcat_modules.jar:/opt/jakarta-tomcat-3.3.1/lib/container/crimson.jar:/opt/jakarta-tomcat-3.3.1/lib/container/facade22.jar:/opt/jakarta-tomcat-3.3.1/lib/container/jasper.jar:/opt/jakarta-tomcat-3.3.1/lib/container/tomcat_util.jar:/opt/jakarta-tomcat-3.3.1/lib/container/xalan.jar
Using JAVA_HOME: /opt/java
Using TOMCAT_HOME: ..
$ Jdk11Compat: Installing jar protocol handler 
ERROR reading /opt/jakarta-tomcat-3.3.1/conf/server.xml
At Line 13 /Server/ContextManager/LoaderInterceptor11/ useApplicationLoader=true 

java.lang.NullPointerException
        at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:772)
        at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:493)
        at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:87)
        at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:333)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:311)
        at
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:173)
        at
org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:149)
        at
org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:436)
        at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:552)
        at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
        at
org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Jdk11Compat.java:106)
        at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
        at
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)
EmbededTomcat: exception initializing ContextManager
org.apache.tomcat.core.TomcatException: Root cause - null
        at
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:177)
        at
org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:149)
        at
org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:436)
        at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:552)
        at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
        at
org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Jdk11Compat.java:106)
        at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
        at
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)
Guessed home=/opt/jakarta-tomcat-3.3.1/lib
Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
        at
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)
Root Exception: org.apache.tomcat.core.TomcatException:
EmbededTomcat.initContextManager
org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
        at
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:570)
        at
org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
        at
org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Jdk11Compat.java:106)
        at
org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
        at
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)

--
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