Skip to content

NullPointerException in ReadTimeoutTimerTask #773

@stepancheg

Description

@stepancheg

Got NullPointerException in logs. Don't know now to reproduce it. It appears under heavy load. It probably began after upgrade to 1.9.0, but I'm not sure. And also it looks like AHC leaks connections.

java.lang.NullPointerException: null
        at com.ning.http.client.providers.netty.request.timeout.ReadTimeoutTimerTask.run(ReadTimeoutTimerTask.java:43)
        at org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:556)
        at org.jboss.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:632)
        at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:369)
        at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
        at java.lang.Thread.run(Thread.java:744)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions