Uploaded image for project: 'Scala'
  1. Scala
  2. SCALA-248

Improve Observables error message

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
    • Sprint:
      JVM Sprint 34, JVM Sprint 38

      Description

      Currently, if an Observer doesn't call onSubscribe the FlatMapObservable errors with: java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:344).

      Lets explicitly check state in the Observables and give a helpful error message if onNext is called before onSubscribe.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: