Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

During ACKNOWLEDGE get 'java.lang.IllegalStateException: Content stream is already disposed.' #73

Closed
egor-ryashin opened this issue Apr 27, 2017 · 4 comments
Assignees
Milestone

Comments

@egor-ryashin
Copy link

Time to time I got this exception trying to send ACKNOWLEDGE (not every time):

Caused by: java.lang.IllegalStateException: Content stream is already disposed.
	at io.reactivex.netty.protocol.http.UnicastContentSubject$OnSubscribeAction.call(UnicastContentSubject.java:240)
	at io.reactivex.netty.protocol.http.UnicastContentSubject$OnSubscribeAction.call(UnicastContentSubject.java:213)
	at rx.Observable.unsafeSubscribe(Observable.java:9861)
	at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
	at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
	at rx.Observable.subscribe(Observable.java:9957)
	at rx.Observable.subscribe(Observable.java:9924)
	at rx.Observable.subscribe(Observable.java:9729)
	at rx.Observable.forEach(Observable.java:6781)
	at com.mesosphere.mesos.rx.java.SinkSubscriber.lambda$onNext$7(SinkSubscriber.java:66)
	at rx.internal.util.ActionSubscriber.onNext(ActionSubscriber.java:39)
	at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:134)
	at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:227)
	... 9 more
@BenWhitehead
Copy link
Contributor

Which version are you using so I can try and line up the line numbers accurately?

@egor-ryashin
Copy link
Author

I'm working with

    <dependency>
      <groupId>com.mesosphere.mesos.rx.java</groupId>
      <artifactId>mesos-rxjava-protobuf-client</artifactId>
      <version>0.1.1</version>
    </dependency>
   

@BenWhitehead
Copy link
Contributor

@egor-ryashin I'm going to publish a 1.2.0-SNAPSHOT if you want to verify this fix before I release 1.2.0 (no scheduled date right now). Instructions are in the readme if you want to add the snapshot repo and test it out.

@BenWhitehead BenWhitehead added this to the 0.1.2 milestone May 16, 2017
@BenWhitehead
Copy link
Contributor

@egor-ryashin Version 0.1.2 has been released and is available in maven central.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants