Open testGumar opened 5 years ago
Did you find any solution to this problem @SayyedUmar
Any updates about that issue?
In the method:
ua.naiksoftware.stomp.dto.StompMessage#from
For the version StompProtocolAndroid:1.6.4
there is line reader.skip("\n\n");
That was firing the exception
Changed to the version the version StompProtocolAndroid:1.6.3
The line is reader.skip("\\s");
And that worked fine with me. For me the STOMP server is implemented using Sprinboot
Hi I am getting below error while integrating this library and executing code in device. Note: App is getting crashed just after opening the connection with the server. Not able to understand why? Already implemented doError and throwable callback in onSubscribe.
code goes like that =----------- mStompClient = Stomp.over(Stomp.ConnectionProvider.OKHTTP, "ws://fuelware-env.mkp8vm63pa.ap-south-1.elasticbeanstalk.com:6614/stomp");
Error goes like that --------------
E/AndroidRuntime: FATAL EXCEPTION: OkHttp http://fuelware-env.mkp8vm63pa.ap-south-1.elasticbeanstalk.com:6614/... Process: com.ouhmac.fwcashier, PID: 6118 io.reactivex.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.util.NoSuchElementException