javax.ws.rs.ProcessingException: Error closing message content input stream.

Java.net JIRA | wuzesheng | 2 years ago
  1. 0

    [JERSEY-2816] Error closing message content input stream. - Java.net JIRA

    java.net | 1 year ago
    javax.ws.rs.ProcessingException: Error closing message content input stream.
  2. 0

    {code} javax.ws.rs.ProcessingException: Error closing message content input stream. at org.glassfish.jersey.message.internal.EntityInputStream.close(EntityInputStream.java:159) at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:358) at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:173) at java.io.InputStreamReader.close(InputStreamReader.java:182) at org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRReaderStream.load(ANTLRReaderStream.java:92) at org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:68) at org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:52) at org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:48) at org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:40) at org.eclipse.persistence.internal.oxm.record.json.JSONReader.parse(JSONReader.java:105) at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:972) at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:425) at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:375) at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:705) at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655) at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301) at org.eclipse.persistence.jaxb.rs.MOXyJsonProvider.readFrom(MOXyJsonProvider.java:580) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:239) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:211) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:139) at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1109) at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:853) at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:785) at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:267) at org.glassfish.jersey.client.InboundJaxrsResponse$1.call(InboundJaxrsResponse.java:111) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:397) at org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:108) at com.xxxxx.GalaxyFDSClient.listObjects(GalaxyFDSClient.java:334) at com.xxxxx.TestFDSJavaSdk.deleteOneBucket(TestFDSJavaSdk.java:172) at com.xxxxx.TestFDSJavaSdk.testListBuckets(TestFDSJavaSdk.java:401) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) Caused by: java.io.IOException: Stream closed. at java.net.PlainSocketImpl.available(PlainSocketImpl.java:452) at java.net.SocketInputStream.available(SocketInputStream.java:217) at java.io.BufferedInputStream.available(BufferedInputStream.java:381) at sun.net.www.MeteredStream.available(MeteredStream.java:152) at sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:72) at java.io.FilterInputStream.close(FilterInputStream.java:155) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:2739) at org.glassfish.jersey.client.HttpUrlConnector$1.close(HttpUrlConnector.java:151) at org.glassfish.jersey.message.internal.EntityInputStream.close(EntityInputStream.java:157) ... 41 more {code}

    Java.net JIRA | 2 years ago | wuzesheng
    javax.ws.rs.ProcessingException: Error closing message content input stream.
  3. 0

    [#JERSEY-2816] Error closing message content input stream.

    java.net | 3 months ago
    javax.ws.rs.ProcessingException: Error closing message content input stream.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 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.io.IOException

      Stream closed.

      at java.net.PlainSocketImpl.available()
    2. Java RT
      HttpURLConnection$HttpInputStream.close
      1. java.net.PlainSocketImpl.available(PlainSocketImpl.java:452)
      2. java.net.SocketInputStream.available(SocketInputStream.java:217)
      3. java.io.BufferedInputStream.available(BufferedInputStream.java:381)
      4. sun.net.www.MeteredStream.available(MeteredStream.java:152)
      5. sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:72)
      6. java.io.FilterInputStream.close(FilterInputStream.java:155)
      7. sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:2739)
      7 frames
    3. jersey-core-client
      HttpUrlConnector$1.close
      1. org.glassfish.jersey.client.HttpUrlConnector$1.close(HttpUrlConnector.java:151)
      1 frame
    4. Jersey Core
      EntityInputStream.close
      1. org.glassfish.jersey.message.internal.EntityInputStream.close(EntityInputStream.java:157)
      1 frame
    5. Java RT
      InputStreamReader.close
      1. sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:358)
      2. sun.nio.cs.StreamDecoder.close(StreamDecoder.java:173)
      3. java.io.InputStreamReader.close(InputStreamReader.java:182)
      3 frames
    6. EclipseLink (non-OSGi)
      XMLUnmarshaller.unmarshal
      1. org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRReaderStream.load(ANTLRReaderStream.java:92)
      2. org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:68)
      3. org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:52)
      4. org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:48)
      5. org.eclipse.persistence.internal.libraries.antlr.runtime.ANTLRInputStream.<init>(ANTLRInputStream.java:40)
      6. org.eclipse.persistence.internal.oxm.record.json.JSONReader.parse(JSONReader.java:105)
      7. org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:972)
      8. org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:425)
      9. org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:375)
      10. org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:705)
      11. org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
      11 frames
    7. EclipseLink
      MOXyJsonProvider.readFrom
      1. org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
      2. org.eclipse.persistence.jaxb.rs.MOXyJsonProvider.readFrom(MOXyJsonProvider.java:580)
      2 frames
    8. Jersey Core
      InboundMessageContext.readEntity
      1. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:239)
      2. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:211)
      3. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:139)
      4. org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1109)
      5. org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:853)
      6. org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:785)
      6 frames
    9. jersey-core-client
      InboundJaxrsResponse$1.call
      1. org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:267)
      2. org.glassfish.jersey.client.InboundJaxrsResponse$1.call(InboundJaxrsResponse.java:111)
      2 frames
    10. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:397)
      4 frames
    11. jersey-core-client
      InboundJaxrsResponse.readEntity
      1. org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:108)
      1 frame
    12. com.xxxxx
      TestFDSJavaSdk.testListBuckets
      1. com.xxxxx.GalaxyFDSClient.listObjects(GalaxyFDSClient.java:334)
      2. com.xxxxx.TestFDSJavaSdk.deleteOneBucket(TestFDSJavaSdk.java:172)
      3. com.xxxxx.TestFDSJavaSdk.testListBuckets(TestFDSJavaSdk.java:401)
      3 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    14. JUnit
      FailOnTimeout$StatementThread.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      5 frames