java.lang.IllegalStateException

RECEIVED

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web79

  • via Spring JIRA by Jose Antonio Iñigo, 10 months ago
    RECEIVED
  • via JIRA by Didier Boudigue, 1 year ago
    Empty buffer received
  • Stack trace

    • java.lang.IllegalStateException: RECEIVED at org.springframework.http.server.reactive.AbstractResponseBodyProcessor$State.onNext(AbstractResponseBodyProcessor.java:316)[spring-web-5.0.0.M1.jar:5.0.0.M1] at org.springframework.http.server.reactive.AbstractResponseBodyProcessor.onNext(AbstractResponseBodyProcessor.java:77)[spring-web-5.0.0.M1.jar:5.0.0.M1] at org.springframework.http.server.reactive.AbstractResponseBodyProcessor.onNext(AbstractResponseBodyProcessor.java:47)[spring-web-5.0.0.M1.jar:5.0.0.M1] at org.springframework.http.server.reactive.ChannelSendOperator$WriteWithBarrier.doNext(ChannelSendOperator.java:97)[spring-web-5.0.0.M1.jar:5.0.0.M1] at reactor.core.publisher.OperatorAdapter.onNext(OperatorAdapter.java:88)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:123)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at com.codependent.spring5.playground.reactive.web.AccountsController$4.subscribe(AccountsController.java:107)[classes/:na] at reactor.core.publisher.FluxSource.subscribe(FluxSource.java:59)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxMap.subscribe(FluxMap.java:73)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at org.springframework.http.server.reactive.ChannelSendOperator.subscribe(ChannelSendOperator.java:54)[spring-web-5.0.0.M1.jar:5.0.0.M1] at reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenApply$MonoThenApplyManager.onNext(MonoThenApply.java:133)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.Operators$DeferredScalarSubscriber.complete(Operators.java:797)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenApply$MonoThenApplyManager$SecondSubscriber.onNext(MonoThenApply.java:203)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxResume$ResumeSubscriber.onNext(FluxResume.java:75)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:130)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:1293)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.request(FluxMapFuseable.java:186)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:1010)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxResume$ResumeSubscriber.onSubscribe(FluxResume.java:70)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onSubscribe(FluxMapFuseable.java:100)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:169)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:51)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoMapFuseable.subscribe(MonoMapFuseable.java:69)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenApply$MonoThenApplyManager.onNext(MonoThenApply.java:133)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:71)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoNext$NextSubscriber.onNext(MonoNext.java:82)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:383)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onSubscribe(FluxConcatMap.java:192)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:96)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:60)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.FluxConcatMap.subscribe(FluxConcatMap.java:116)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoNext.subscribe(MonoNext.java:45)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoOtherwiseIfEmpty.subscribe(MonoOtherwiseIfEmpty.java:47)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:58)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:58)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenSupply$MonoConcatIgnoreManager.drain(MonoThenSupply.java:167)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at reactor.core.publisher.MonoThenSupply.subscribe(MonoThenSupply.java:55)[reactor-core-3.0.0.BUILD-SNAPSHOT.jar:na] at org.springframework.http.server.reactive.ServletHttpHandlerAdapter.service(ServletHttpHandlerAdapter.java:93)[spring-web-5.0.0.M1.jar:5.0.0.M1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.4.jar:8.5.4] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.4.jar:8.5.4] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.