Streaming-Poloniex NullPointer and missing onError handler in subscribe()
See original GitHub issuei get this frequently:
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 | com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of `info.bitrich.xchangestream.poloniex2.dto.PoloniexWebSocketEventsTransaction`, problem: `java.lang.NullPointerException`
at [Source: UNKNOWN; line: -1, column: -1]
Caused by: java.lang.NullPointerException
at info.bitrich.xchangestream.poloniex2.dto.PoloniexWebSocketEventsTransaction.createEvents(PoloniexWebSocketEventsTransaction.java:46)
at info.bitrich.xchangestream.poloniex2.dto.PoloniexWebSocketEventsTransaction.<init>(PoloniexWebSocketEventsTransaction.java:28)
at jdk.internal.reflect.GeneratedConstructorAccessor110.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:124)
at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:283)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Missing onError handler in the subscribe() method call ...
Fatal Exception: io.reactivex.b.d: The exception was not handled due to missing onError handler in the subscribe() method call.
Read more >ObservableZip .subscribe() crash: null pointer exception, but ...
In my code I have Observable.zip() in some parts (mostly in Fragments) and it looks like this: DisposableObserver<List<WalletBalance> ...
Read more >How to handle NullPointerException in rxjava2 | by Kranthi Kulli
Below solution uses onErrorResumeNext to handle null returns than using Optional. onErrorResumeNext instructs a reactive type to emit a sequence ...
Read more >Changelog | GENERAL BYTES
Terminal: Invalid ratesource configuration cased error messages not to be displayed on ... Server: Fixed Morphis list of terminals null pointer exception.
Read more >Falcon Sandbox v9.0.2 © Hybrid Analysis
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you need to have an “onError” or use the subscribe with an error parameter
User error