You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/03/16 13:23:21 UTC

[Bug 60875] New: Process Request null pointer exception.

https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

            Bug ID: 60875
           Summary: Process Request null pointer exception.
           Product: Tomcat 8
           Version: 8.5.11
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: AaronSheng91@126.com
  Target Milestone: ----

10-Mar-2017 10:39:24.254 SEVERE [catalina-exec-28]
org.apache.coyote.http11.Http11Processor.service Error processing request
 java.lang.NullPointerException
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:389)
        at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
        at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
        at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60875] Process Request null pointer exception.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
Several possible root causes for this have been fixed in 8.5.14 onwards.

If you still see this issue with 8.5.14 or later, please re-open and provide
the steps to reproduce the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60875] Process Request null pointer exception.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

--- Comment #6 from Aaron <Aa...@126.com> ---
(In reply to Mark Thomas from comment #5)
> Several possible root causes for this have been fixed in 8.5.14 onwards.
> 
> If you still see this issue with 8.5.14 or later, please re-open and provide
> the steps to reproduce the issue.

Thank you for your remind. I have solved my problem by adding config
useSendfile=false to connector. I will try new version and give you feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60875] Process Request null pointer exception.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

Chuck Caldarale <ch...@unisys.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Chuck Caldarale <ch...@unisys.com> ---
The cause is very likely an application bug, hanging onto references to old
request or response objects.  This would best be discussed on the user's
mailing list, since bugzilla is not a support forum.  But read this first:
http://www.catb.org/~esr/faqs/smart-questions.html

If the problem is reproducible on a clean Tomcat install downloaded from
tomcat.apache.org, then supply the smallest possible webapp that demonstrates
the problem, along with the configuration files employed and a description of
the procedure to cause the error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60875] Process Request null pointer exception.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

--- Comment #2 from Aaron <Aa...@126.com> ---
I am using SpringBoot. And deploy war to tomcat. All request processed in
Controller. No code related to request and response. Can you provide more
details about this problem? thx!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60875] Process Request null pointer exception.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Can you provide a simple test case that demonstrates this problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60875] Process Request null pointer exception.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60875

--- Comment #4 from Aaron <Aa...@126.com> ---
The problem never happen in test case. I have two servers deployed with same
war. One never produce this problem. But the other one produce this sometimes.
I wonder why this problem happen, because requests are processed in controller.
What cause of difference in two servers. thx!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org