java.lang.NullPointerException

GitHub | YulawOne | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How to retry monix Observable x times on specific exceptions?

    Stack Overflow | 2 weeks ago | JVS
    monix.reactive.exceptions.MultipleSubscribersException: InputStreamObservable does not support multiple subscribers
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Observable `concatMap` / `mapTask` trigger invalid state warning on `raiseError` children

    GitHub | 1 month ago | hrlqn
    java.lang.IllegalStateException: State WaitComplete(Some(com.agoda.adp.wf.api.queryengine.dto.response.TimeoutError: Query taking too long),null) in the Monix ConcatMap.onNext implementation is invalid, please send a bug report! See https://monix.io

    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. java.lang.NullPointerException

      No message provided

      at monix.reactive.subjects.AsyncSubject.unsubscribe()
    2. monix.reactive.subjects
      AsyncSubject.$anonfun$unsafeSubscribeFn$1
      1. monix.reactive.subjects.AsyncSubject.unsubscribe(AsyncSubject.scala:122)
      2. monix.reactive.subjects.AsyncSubject.$anonfun$unsafeSubscribeFn$1(AsyncSubject.scala:89)
      2 frames
    3. monix.execution
      Cancelable$CancelableTask.cancel
      1. monix.execution.Cancelable$CancelableTask.cancel(Cancelable.scala:66)
      1 frame
    4. monix.reactive.observables
      RefCountObservable.$anonfun$unsafeSubscribeFn$2
      1. monix.reactive.observables.RefCountObservable.$anonfun$unsafeSubscribeFn$2(RefCountObservable.scala:65)
      1 frame
    5. monix.execution
      Cancelable$CancelableTask.cancel
      1. monix.execution.Cancelable$CancelableTask.cancel(Cancelable.scala:66)
      1 frame
    6. monix.execution.cancelables
      CompositeCancelable.cancel
      1. monix.execution.cancelables.SerialCancelable.cancel(SerialCancelable.scala:62)
      2. monix.execution.cancelables.CompositeCancelable.cancel(CompositeCancelable.scala:89)
      2 frames
    7. monix.reactive.internal
      SwitchMapObservable$$anon$1$$anon$2.onError
      1. monix.reactive.internal.operators.SwitchMapObservable$$anon$1.onError(SwitchMapObservable.scala:96)
      2. monix.reactive.internal.operators.SwitchMapObservable$$anon$1$$anon$2.onError(SwitchMapObservable.scala:74)
      2 frames
    8. monix.reactive.observers
      Subscriber$Implementation.onError
      1. monix.reactive.observers.Subscriber$Implementation.onError(Subscriber.scala:214)
      1 frame
    9. monix.reactive.observables
      RefCountObservable$$anon$1.onError
      1. monix.reactive.observables.RefCountObservable$$anon$1.onError(RefCountObservable.scala:79)
      1 frame
    10. monix.reactive.subjects
      AsyncSubject.onError
      1. monix.reactive.subjects.AsyncSubject.onCompleteOrError(AsyncSubject.scala:108)
      2. monix.reactive.subjects.AsyncSubject.onError(AsyncSubject.scala:56)
      2 frames
    11. monix.reactive.observers
      SafeSubscriber.onError
      1. monix.reactive.observers.Subscriber$Implementation.onError(Subscriber.scala:214)
      2. monix.reactive.observers.SafeSubscriber.signalError(SafeSubscriber.scala:92)
      3. monix.reactive.observers.SafeSubscriber.onError(SafeSubscriber.scala:61)
      3 frames
    12. monix.reactive.internal
      MapTaskObservable$MapAsyncSubscriber.$anonfun$onNext$2
      1. monix.reactive.internal.operators.DoOnErrorOperator$$anon$1.onError(DoOnErrorOperator.scala:46)
      2. monix.reactive.internal.operators.DoOnNextOperator$$anon$1.onError(DoOnNextOperator.scala:55)
      3. monix.reactive.internal.operators.MapTaskObservable$MapAsyncSubscriber.$anonfun$onNext$2(MapTaskObservable.scala:154)
      3 frames
    13. monix.eval
      Task.runAsync
      1. monix.eval.Coeval$Always.runAttempt(Coeval.scala:603)
      2. monix.eval.Task$.loop$1(Task.scala:1474)
      3. monix.eval.Task$.startTrampolineForFuture(Task.scala:1519)
      4. monix.eval.Task.runAsync(Task.scala:113)
      4 frames
    14. monix.reactive.internal
      IntervalFixedDelayObservable$$anon$1.run
      1. monix.reactive.internal.operators.MapTaskObservable$MapAsyncSubscriber.onNext(MapTaskObservable.scala:179)
      2. monix.reactive.internal.operators.DoOnTerminateOperator$$anon$1.onNext(DoOnTerminateOperator.scala:38)
      3. monix.reactive.internal.operators.WhileBusyDropEventsOperator$$anon$1.onNext(WhileBusyDropEventsOperator.scala:40)
      4. monix.reactive.internal.operators.WhileBusyDropEventsOperator$$anon$1.onNext(WhileBusyDropEventsOperator.scala:30)
      5. monix.reactive.internal.operators.MapOperator$$anon$1.onNext(MapOperator.scala:45)
      6. monix.reactive.internal.builders.IntervalFixedDelayObservable$$anon$1.run(IntervalFixedDelayObservable.scala:58)
      6 frames
    15. Scala
      ExecutionContextImpl$AdaptedForkJoinTask.exec
      1. scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:140)
      1 frame
    16. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames