problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem

rameez-2
Does anyone know why the following could occur? It happens not infrequently
with our software. This happens in Tomcat 4.

Thanks in advance for any help.

regards,

Rameez

 

java.lang.NullPointerException

   at
org.apache.coyote.tomcat4.CoyoteRequestFacade.setAttribute(CoyoteRequestFaca
de.java:234)

   at
com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker._$41797(Adm
inWorker.java:2669)

   at
com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker.processRequ
est(AdminWorker.java:4298)

   at
com.itanetworks.spammarshall.webfront.servlet.FrontController._$42178(FrontC
ontroller.java:55)

   at
com.itanetworks.spammarshall.webfront.servlet.FrontController.doGet(FrontCon
troller.java:33)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)

   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..j
ava:260)

   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..j
ava:191)

   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

   at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)

   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.StandardContext.invoke(StandardContext.java:2415)

   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:172
)

   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:432)

   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)

   at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)

   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)

   at java.lang.Thread.run(Thread.java:595)

 

---------------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
This email is intended for the addressee only and may contain
information that is privileged and confidential. If you are not the
intended recipient, you must not copy, distribute or take any action in
reliance on it. If this email has been sent to you in error, please
notify us immediately.
---------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: problem

delbd
Check for nulls parameter at line

com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker._$41797(Adm
inWorker.java:2669



Rameez a écrit :

>Does anyone know why the following could occur? It happens not infrequently
>with our software. This happens in Tomcat 4.
>
>Thanks in advance for any help.
>
>regards,
>
>Rameez
>
>
>
>java.lang.NullPointerException
>
>   at
>org.apache.coyote.tomcat4.CoyoteRequestFacade.setAttribute(CoyoteRequestFaca
>de.java:234)
>
>   at
>com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker._$41797(Adm
>inWorker.java:2669)
>
>   at
>com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker.processRequ
>est(AdminWorker.java:4298)
>
>   at
>com.itanetworks.spammarshall.webfront.servlet.FrontController._$42178(FrontC
>ontroller.java:55)
>
>   at
>com.itanetworks.spammarshall.webfront.servlet.FrontController.doGet(FrontCon
>troller.java:33)
>
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
>   at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>FilterChain.java:247)
>
>   at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
>
>   at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..j
>ava:260)
>
>   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..j
>ava:191)
>
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
>
>   at
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
>46)
>
>   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.StandardContext.invoke(StandardContext.java:2415)
>
>   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:172
>)
>
>   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:432)
>
>   at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>ction(Http11Protocol.java:386)
>
>   at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>
>   at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>a:530)
>
>   at java.lang.Thread.run(Thread.java:595)
>
>
>
>---------------------------------------------------------------------------
>STATEMENT OF CONFIDENTIALITY
>This email is intended for the addressee only and may contain
>information that is privileged and confidential. If you are not the
>intended recipient, you must not copy, distribute or take any action in
>reliance on it. If this email has been sent to you in error, please
>notify us immediately.
>---------------------------------------------------------------------------
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: problem

Mir Kasim Ali
In reply to this post by rameez-2
Assalamoalikum
Dear this is due to the variable which you wants to prints its value but
value is not yet assigned. So check out the variables defined in your jsp
page or servlet.Generally some variables value depends on the request .We
extract the parameter from request object and assigned that value to
variables defined locally and then process those variables but while
processing (eg parsing the value of variable) the variable such exception
rises. So please check out the value of variables before processing it.I
hope this will help you to clear the bug which you face frequently...


-----Original Message-----
From: Rameez [mailto:[hidden email]]
Sent: Wednesday, March 01, 2006 6:19 PM
To: [hidden email]
Subject: problem

Does anyone know why the following could occur? It happens not infrequently
with our software. This happens in Tomcat 4.

Thanks in advance for any help.

regards,

Rameez



java.lang.NullPointerException

   at
org.apache.coyote.tomcat4.CoyoteRequestFacade.setAttribute(CoyoteRequestFaca
de.java:234)

   at
com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker._$41797(Adm
inWorker.java:2669)

   at
com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker.processRequ
est(AdminWorker.java:4298)

   at
com.itanetworks.spammarshall.webfront.servlet.FrontController._$42178(FrontC
ontroller.java:55)

   at
com.itanetworks.spammarshall.webfront.servlet.FrontController.doGet(FrontCon
troller.java:33)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)

   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..j
ava:260)

   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..j
ava:191)

   at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

   at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)

   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.StandardContext.invoke(StandardContext.java:2415)

   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:172
)

   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:432)

   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)

   at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)

   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)

   at java.lang.Thread.run(Thread.java:595)



---------------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
This email is intended for the addressee only and may contain
information that is privileged and confidential. If you are not the
intended recipient, you must not copy, distribute or take any action in
reliance on it. If this email has been sent to you in error, please
notify us immediately.
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]