java.net.SocketException: Socket is closed

Google Groups | Unknown author | 4 months ago
  1. 0

    Dhis2 module connection leak

    Google Groups | 4 months ago | Unknown author
    java.net.SocketException: Socket is closed
  2. 0

    httpcomponents's ssl connection results in socket is closed

    Stack Overflow | 4 years ago | tompal18
    java.net.SocketException: Socket is closed
  3. 0

    Spark gives an error when writing the result in a worker node to file

    Stack Overflow | 1 year ago | santhosh
    java.net.SocketException: Socket is closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ssl error while sending push notification to apns using notnoopapns

    Stack Overflow | 3 years ago | user2739737
    java.net.SocketException: Socket is closed

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      Socket is closed

      at sun.security.ssl.SSLSocketImpl.checkEOF()
    2. Java JSSE
      AppInputStream.read
      1. sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1532)
      2. sun.security.ssl.AppInputStream.read(AppInputStream.java:95)
      2 frames
    3. Apache Http
      ContentLengthInputStream.read
      1. org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
      2. org.apache.http.impl.io.SessionInputBufferImpl.read(SessionInputBufferImpl.java:200)
      3. org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178)
      3 frames
    4. Apache HttpClient
      EofSensorInputStream.read
      1. org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
      1 frame
    5. Jackson-core
      UTF8StreamJsonParser.nextToken
      1. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.loadMore(UTF8StreamJsonParser.java:174)
      2. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.slowParseFieldName(UTF8StreamJsonParser.java:1402)
      3. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._parseFieldName(UTF8StreamJsonParser.java:1237)
      4. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:501)
      4 frames
    6. Jackson
      ObjectReader.readValue
      1. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:283)
      2. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:112)
      3. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:226)
      4. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:203)
      5. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
      6. com.fasterxml.jackson.databind.deser.SettableAnyProperty.deserialize(SettableAnyProperty.java:98)
      7. com.fasterxml.jackson.databind.deser.SettableAnyProperty.deserializeAndSet(SettableAnyProperty.java:88)
      8. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:303)
      9. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:112)
      10. com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:937)
      11. com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:601)
      11 frames
    7. org.motechproject.dhis2
      SyncServiceImpl.sync
      1. org.motechproject.dhis2.rest.service.impl.DhisWebServiceImpl.getResources(DhisWebServiceImpl.java:285)
      2. org.motechproject.dhis2.rest.service.impl.DhisWebServiceImpl.getDataElements(DhisWebServiceImpl.java:143)
      3. org.motechproject.dhis2.service.impl.SyncServiceImpl.addDataElements(SyncServiceImpl.java:97)
      4. org.motechproject.dhis2.service.impl.SyncServiceImpl.sync(SyncServiceImpl.java:74)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    10. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    11. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    12. com.sun.proxy
      $Proxy421.sync
      1. com.sun.proxy.$Proxy421.sync(Unknown Source)
      1 frame
    13. org.motechproject.dhis2
      DhisSettingsController$$FastClassByCGLIB$$bea31008.invoke
      1. org.motechproject.dhis2.web.DhisSettingsController.sync(DhisSettingsController.java:70)
      2. org.motechproject.dhis2.web.DhisSettingsController$$FastClassByCGLIB$$bea31008.invoke(<generated>)
      2 frames
    14. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      1 frame
    15. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      2 frames
    16. spring-security-core
      MethodSecurityInterceptor.invoke
      1. org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
      1 frame
    17. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
      2 frames
    18. org.motechproject.dhis2
      DhisSettingsController$$EnhancerByCGLIB$$3822e7cc.sync
      1. org.motechproject.dhis2.web.DhisSettingsController$$EnhancerByCGLIB$$3822e7cc.sync(<generated>)
      1 frame
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    20. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
      2 frames
    21. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
      8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
      8 frames
    22. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    23. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
      2. org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
      3. org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
      4. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
      5. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      5 frames
    24. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
      8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
      10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      13. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
      14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      15. org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
      16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      17. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      19. org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)
      20. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      21. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
      21 frames
    25. org.motechproject.security
      MotechDelegatingFilterProxy.doFilter
      1. org.motechproject.security.filter.MotechDelegatingFilterProxy.doFilter(MotechDelegatingFilterProxy.java:66)
      1 frame
    26. Felix Http Bridge
      DispatcherServlet.service
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
      5. org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
      6. org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
      7. org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
      7 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    28. Apache Felix Http Proxy
      ProxyServlet.service
      1. org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
      1 frame
    29. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    30. org.motechproject.server
      ProxyServlet.service
      1. org.motechproject.server.impl.ProxyServlet.service(ProxyServlet.java:62)
      1 frame
    31. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    32. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    33. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
      3 frames
    34. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames