tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis ANDRE" <francis.an...@easynet.fr>
Subject Tomcat 4.1.10:NPE in catalina.core.StandardWrapper.allocate
Date Mon, 02 Dec 2002 20:48:04 GMT
Hi EveryBody

I got an NPE exception in Tomcat 4.1.10/jdk 1.4.1_01 while reloading  a
servlet: Any idea how to bypass or fix this problem???

2002-12-02 21:25:53 StandardContext[/primer]: Processing start(), current
available=false
2002-12-02 21:25:53 StandardContext[/primer]: Configuring default Resources
2002-12-02 21:25:53 StandardContext[/primer]: Configuring non-privileged
default Loader
2002-12-02 21:25:53 StandardContext[/primer]: Processing standard container
startup
2002-12-02 21:25:53 WebappLoader[/primer]: Deploying class repositories to
work directory C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\primer
2002-12-02 21:25:53 WebappLoader[/primer]: Deploy class files
/WEB-INF/classes to D:\MyApp\Primer\WEB-INF\classes
2002-12-02 21:25:53 WebappLoader[/primer]: Reloading checks are enabled for
this Context
2002-12-02 21:25:53 ContextConfig[/primer]: ContextConfig: Processing START
2002-12-02 21:25:53 StandardContext[/primer]: Setting deployment descriptor
public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2002-12-02 21:25:53 StandardContext[/primer]: Setting deployment descriptor
public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2002-12-02 21:25:53 ContextConfig[/primer]:  Accumulating TLD resource paths
2002-12-02 21:25:53 ContextConfig[/primer]:   Scanning <taglib> elements in
web.xml
2002-12-02 21:25:53 ContextConfig[/primer]:   Scanning TLDs in /WEB-INF
subdirectory
2002-12-02 21:25:53 ContextConfig[/primer]:   Scanning JARs in /WEB-INF/lib
subdirectory
2002-12-02 21:25:53 ContextConfig[/primer]: Pipline Configuration:
2002-12-02 21:25:53 ContextConfig[/primer]:
org.apache.catalina.core.StandardContextValve/1.0
2002-12-02 21:25:53 ContextConfig[/primer]: ======================
2002-12-02 21:25:53 NamingContextListener[/Standalone/localhost/primer]:
Creating JNDI naming context
2002-12-02 21:25:53 NamingContextListener[/Standalone/localhost/primer]:
Resource parameters for UserTransaction = null
2002-12-02 21:25:53 StandardManager[/primer]: Seeding random number
generator class java.security.SecureRandom
2002-12-02 21:25:53 StandardManager[/primer]: Seeding of random number
generator has been completed
2002-12-02 21:25:53 StandardContext[/primer]: Posting standard context
attributes
2002-12-02 21:25:53 StandardContext[/primer]: Configuring application event
listeners
2002-12-02 21:25:53 StandardContext[/primer]: Sending application start
events
2002-12-02 21:25:53 StandardContext[/primer]: Starting filters
2002-12-02 21:25:53 StandardWrapper[/primer:default]: Loading container
servlet default
2002-12-02 21:25:53 StandardWrapper[/primer:invoker]: Loading container
servlet invoker
2002-12-02 21:25:53 StandardContext[/primer]: Starting completed
2002-12-02 21:25:57 StandardContext[/primer]: Mapping contextPath='/primer'
with requestURI='/primer/myapp' and relativeURI='/myapp'
2002-12-02 21:25:57 StandardContext[/primer]:   Trying exact match
2002-12-02 21:25:57 StandardContext[/primer]:  Mapped to servlet 'MyApp
Executive' with servlet path '/myapp' and path info 'null' and update=true
2002-12-02 21:26:00 StandardContext[/primer]: Mapping contextPath='/primer'
with requestURI='/primer/myapp' and relativeURI='/myapp'
2002-12-02 21:26:00 StandardContext[/primer]:   Trying exact match
2002-12-02 21:26:00 StandardContext[/primer]:  Mapped to servlet 'MyApp
Executive' with servlet path '/myapp' and path info 'null' and update=true
2002-12-02 21:26:00 StandardContext[/primer]: Mapping contextPath='/primer'
with requestURI='/primer/myprog' and relativeURI='/myprog'
2002-12-02 21:26:00 StandardContext[/primer]:   Trying exact match
2002-12-02 21:26:00 StandardContext[/primer]:  Mapped to servlet 'myprog
Kixlet' with servlet path '/myprog' and path info 'null' and update=true
2002-12-02 21:27:08 StandardContext[/primer]: Reloading this Context has
started
2002-12-02 21:27:08 StandardContext[/primer]: Sending application stop
events
2002-12-02 21:27:08 StandardContext[/primer]: Stopping filters
2002-12-02 21:27:08 WebappLoader[/primer]: Deploying class repositories to
work directory C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\primer
2002-12-02 21:27:08 WebappLoader[/primer]: Deploy class files
/WEB-INF/classes to D:\MyApp\Primer\WEB-INF\classes
2002-12-02 21:27:08 WebappLoader[/primer]: Reloading checks are enabled for
this Context
2002-12-02 21:27:08 NamingContextListener[/Standalone/localhost/primer]:
Creating JNDI naming context
2002-12-02 21:27:08 NamingContextListener[/Standalone/localhost/primer]:
Resource parameters for UserTransaction = null
2002-12-02 21:27:08 StandardContext[/primer]: Configuring application event
listeners
2002-12-02 21:27:08 StandardContext[/primer]: Sending application start
events
2002-12-02 21:27:08 StandardContext[/primer]: Starting filters
2002-12-02 21:27:08 StandardWrapper[/primer:default]: Loading container
servlet default
2002-12-02 21:27:08 StandardWrapper[/primer:invoker]: Loading container
servlet invoker
2002-12-02 21:27:08 StandardManager[/primer]: Seeding random number
generator class java.security.SecureRandom
2002-12-02 21:27:08 StandardManager[/primer]: Seeding of random number
generator has been completed
2002-12-02 21:27:08 StandardContext[/primer]: Reloading this Context is
completed
2002-12-02 21:27:10 StandardContext[/primer]: Mapping contextPath='/primer'
with requestURI='/primer/myapp' and relativeURI='/myapp'
2002-12-02 21:27:10 StandardContext[/primer]:   Trying exact match
2002-12-02 21:27:10 StandardContext[/primer]:  Mapped to servlet 'MyApp
Executive' with servlet path '/myapp' and path info 'null' and update=true
2002-12-02 21:27:10 StandardWrapperValve[MyApp Executive]: Allocate
exception for servlet MyApp Executive
java.lang.NullPointerException
 at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:678)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2389)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:380)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
 at java.lang.Thread.run(Thread.java:536)

Regards

FA


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