jira-importer opened a new issue, #949:
URL: https://github.com/apache/httpcomponents-core/issues/949

   
**[Johann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=johann)**
 opened 
**[HTTPCORE-419](https://issues.apache.org/jira/browse/HTTPCORE-419?redirect=false)**
 and commented
   
   Google App Engine occasionally throws a NullPointerException when calling 
`Socket#shutdownInput()` and `Socket#shutdownOutput()`. Here are some stack 
traces:
   
   ```
   Uncaught exception from servlet
   java.lang.NullPointerException
        at 
com.google.appengine.api.socket.SocketApiHelper.translateError(SocketApiHelper.java:100)
        at 
com.google.appengine.api.socket.SocketApiHelper.translateError(SocketApiHelper.java:119)
        at 
com.google.appengine.api.socket.SocketApiHelper.makeSyncCall(SocketApiHelper.java:85)
        at 
com.google.appengine.api.socket.AppEngineSocketImpl.shutdownOutput(AppEngineSocketImpl.java:678)
        at java.net.Socket.shutdownOutput(Socket.java:1544)
        at 
org.apache.http.impl.BHttpConnectionBase.close(BHttpConnectionBase.java:325)
   
   Uncaught exception from servlet
   java.lang.NullPointerException
        at 
com.google.appengine.api.socket.SocketApiHelper.translateError(SocketApiHelper.java:100)
        at 
com.google.appengine.api.socket.SocketApiHelper.translateError(SocketApiHelper.java:119)
        at 
com.google.appengine.api.socket.SocketApiHelper.makeSyncCall(SocketApiHelper.java:85)
        at 
com.google.appengine.api.socket.AppEngineSocketImpl.shutdownInput(AppEngineSocketImpl.java:664)
        at java.net.Socket.shutdownInput(Socket.java:1514)
        at 
org.apache.http.impl.BHttpConnectionBase.close(BHttpConnectionBase.java:329)
   ```
   
   Would it be possible to catch those NPEs so I don't have to override the 
class manually?
   
   
   ---
   
   **Affects:** 4.4.4
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to