Skip to content

NullPointerException in ReadTimeoutTimerTask #773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stepancheg opened this issue Dec 6, 2014 · 3 comments
Closed

NullPointerException in ReadTimeoutTimerTask #773

stepancheg opened this issue Dec 6, 2014 · 3 comments
Assignees
Milestone

Comments

@stepancheg
Copy link
Contributor

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)
@slandelle
Copy link
Contributor

Which version of Netty do you use?
A reproducer would help.

@stepancheg
Copy link
Contributor Author

Netty 3.9.5.Final.

I tried to create a simple example that reproduces problem, but I couldn't.

@slandelle slandelle self-assigned this Dec 8, 2014
@slandelle slandelle added this to the 1.9.1 milestone Dec 8, 2014
@slandelle
Copy link
Contributor

NPE fixed, thanks for reporting.

And also it looks like AHC leaks connections.

What do you mean exactly? What did you observe? Under which conditions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants