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

Java.net JIRA | wuzesheng | 2 years ago
  1. 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.
  2. 0

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

    java.net | 3 months ago
    javax.ws.rs.ProcessingException: Error closing message content input stream.
  3. 0

    JsonMappingException: Root name does not match expected

    Stack Overflow | 2 years ago | Dariush Jafari
    javax.ws.rs.ProcessingException: Error reading entity from input stream.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jackson-module-parameter-names and DropWizardAppRule

    Google Groups | 2 years ago | Ron Dagostino
    javax.ws.rs.ProcessingException: Error reading entity from input stream.

    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. javax.ws.rs.ProcessingException

      Error closing message content input stream.

      at java.net.AbstractPlainSocketImpl.available()
    2. Java RT
      FilterInputStream.close
      1. java.net.AbstractPlainSocketImpl.available(AbstractPlainSocketImpl.java:458)
      2. java.net.SocketInputStream.available(SocketInputStream.java:245)
      3. java.io.BufferedInputStream.available(BufferedInputStream.java:399)
      4. sun.net.www.MeteredStream.available(MeteredStream.java:170)
      5. sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:85)
      6. java.io.FilterInputStream.close(FilterInputStream.java:181)
      6 frames