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 2021/08/27 13:50:35 UTC

[Bug 65525] New: Exception in thread "http-nio-8080-ClientPoller" java.lang.NullPointerException

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

            Bug ID: 65525
           Summary: Exception in thread "http-nio-8080-ClientPoller"
                    java.lang.NullPointerException
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: juhigupta996@gmail.com
  Target Milestone: -----

I have a JAVA application running on spring boot 2.3.2 following is the
defination defined in pom


<parent>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-parent</artifactId>
  <version>2.3.2.RELEASE</version>
  <relativePath/> <!-- lookup parent from repository -->
</parent>

from the following link
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-tomcat/2.3.2.RELEASE
I can see it uses 9.0.x Tomcat


I have started to notice that the application has started to throw following 
exception:

Exception in thread "http-nio-8080-ClientPoller" java.lang.NullPointerException
        at
org.apache.tomcat.util.net.NioEndpoint$Poller.events(NioEndpoint.java:613)
        at
org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:729)
        at java.base/java.lang.Thread.run(Thread.java:832)


and after this exception all the rest calls get stuck and breaks the
application.
Not sure what is causing it and how to mitigate it. 

Getting this error in prod and not sure how to resolve it, any hep is
appreciated.

-- 
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 65525] Exception in thread "http-nio-8080-ClientPoller" java.lang.NullPointerException

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |9.0.37

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Set correct Tomcat version for given Spring Boot version

-- 
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 65525] Exception in thread "http-nio-8080-ClientPoller" java.lang.NullPointerException

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

Juhi Gupta <ju...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux                       |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 65525] Exception in thread "http-nio-8080-ClientPoller" java.lang.NullPointerException

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

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

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
You need to use a newer version of Tomcat.

9.0.52 is the latest as I type this. 9.0.40 or later should address the
specific issue reported here.

-- 
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 65525] Exception in thread "http-nio-8080-ClientPoller" java.lang.NullPointerException

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

--- Comment #3 from Juhi Gupta <ju...@gmail.com> ---
Yes, I just went through the following issue
https://bz.apache.org/bugzilla/show_bug.cgi?id=64839 and noticed its the same
issue.

I will update spring boot and tomcat server to latest version and check.

Thanks for the update!

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