java.lang.IllegalStateException: state should be: w is an Integer

Spring JIRA | Christoph Strobl | 1 year ago
  1. 0

    MongoDB: java.lang.IllegalStateException: state should be: open

    Google Groups | 3 weeks ago | EG
    java.lang.IllegalStateException: state should be: open
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.IllegalStateException: state should be: open when using with Spark with master set to "local[*]"

    Google Groups | 1 year ago | Jerry Lin
    java.lang.IllegalStateException: state should be: open
  4. 0

    MongoDB: java.lang.IllegalStateException: state should be: open

    Server Fault | 3 weeks ago | user386866
    java.lang.IllegalStateException: state should be: open

    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.IllegalStateException

      state should be: w is an Integer

      at com.mongodb.assertions.Assertions.isTrue()
    2. MongoDB Java Driver
      WriteConcern.getW
      1. com.mongodb.assertions.Assertions.isTrue(Assertions.java:70)
      2. com.mongodb.WriteConcern.getW(WriteConcern.java:343)
      2 frames
    3. Spring Data MongoDB - Core
      MongoTemplate.prepareWriteConcern
      1. org.springframework.data.mongodb.core.MongoTemplate.prepareWriteConcern(MongoTemplate.java:781)
      1 frame