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/10/27 16:42:31 UTC

[Bug 61683] New: NullPointerException in ErrorReportValve while executing HTTP/2 Server Push

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

            Bug ID: 61683
           Summary: NullPointerException in ErrorReportValve while
                    executing HTTP/2 Server Push
           Product: Tomcat 9
           Version: 9.0.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: chiptv@web.de
  Target Milestone: -----

While building the example application for bug
https://bz.apache.org/bugzilla/show_bug.cgi?id=61681 I got the following
NullPointerException. Seems that the response object is null for any reason.

```
java.lang.NullPointerException
       
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
       
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)
       
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
       
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:255)
       
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
       
org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:64)
        org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
       
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        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 61683] NullPointerException in ErrorReportValve while executing HTTP/2 Server Push

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

Michael Osipov <19...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |1983-01-06@gmx.net
                 OS|                            |All

-- 
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 61683] NullPointerException in ErrorReportValve while executing HTTP/2 Server Push

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Looking at the source code for 9.0.1 line 81 of the ErrorReportValve is:

getNext().invoke(request, response);

That suggests getNext() returned null. For that to happen, something would have
to have gone wrong with the initial configuration of the Pipeline and I don't -
yet - see how that could happen.

We definitely need more information, and ideally the steps to reproduce, for
this one.

-- 
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 61683] NullPointerException in ErrorReportValve while executing HTTP/2 Server Push

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

Remy Maucherat <re...@apache.org> changed:

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

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
Please clarify how the NPE occurs.

-- 
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 61683] NullPointerException in ErrorReportValve while executing HTTP/2 Server Push

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

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

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

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
It is over 3 months since the original report and no information has been
provided regarding how to reproduce this. Moving to WONTFIX.

Any who can provide the steps to reproduce this on a clean install of a
currently supported version of Tomcat should feel free to re-open this issue
and add the reproduction steps so the issue can be investigated further.

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