NettyServerRequestResponseChannel NPE
@zzmao is already working on this.
Since Mar 31, 2020.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 298
- Avg merge
- 21h 43m
- Merged PRs (30d)
- 9
Description
2020/03/31 05:25:11.737 ERROR [RequestHandlerPool] [Thread-1] [ambry-server] [] error when shutting down request handler pool {}
java.lang.NullPointerException
at java.io.DataInputStream.readFully(DataInputStream.java:195)
at java.io.DataInputStream.readLong(DataInputStream.java:416)
at com.github.ambry.network.NettyServerRequestResponseChannel.sendRequest(NettyServerRequestResponseChannel.java:41)
at com.github.ambry.protocol.RequestHandler.shutdown(RequestHandler.java:64)
at com.github.ambry.protocol.RequestHandlerPool.shutdown(RequestHandlerPool.java:65)
at com.github.ambry.server.AmbryServer.shutdown(AmbryServer.java:305)
at com.linkedin.ambry.server.AmbryLIServer.notifyShutdown(AmbryLIServer.java:66)
at com.linkedin.util.factory.lifecycle.LifeCycleMgr.notifyShutdownListener(LifeCycleMgr.java:126)
at com.linkedin.util.factory.lifecycle.LifeCycleMgr.notifyListeners(LifeCycleMgr.java:103)
at com.linkedin.util.factory.lifecycle.LifeCycleMgr.notifyStop(LifeCycleMgr.java:82)
at com.linkedin.util.factory.Generator.stop(Generator.java:211)
at com.linkedin.offspring.servlet.OffspringServletRuntime.destroy(OffspringServletRuntime.java:86)
at com.linkedin.offspring.servlet.OffspringServletContextListener.contextDestroyed(OffspringServletContextListener.java:49)
at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:960)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:571)
at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:381)
at org.eclipse.jetty.webapp.WebAppContext.stopWebapp(WebAppContext.java:1503)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.