java.lang.IllegalArgumentException: No matching constant for [255]

Stack Overflow | eze | 7 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

    Spring Boot controller with custom status codes?

    Stack Overflow | 7 months ago | eze
    java.lang.IllegalArgumentException: No matching constant for [255]
  2. 0

    Web security doesn't work with spring legacy and web.xml

    GitHub | 1 year ago | jamesclark92
    java.lang.IllegalArgumentException: No matching constant for [0]
  3. 0

    Issue with not set response status code

    GitHub | 8 months ago | marcingrzejszczak
    java.lang.IllegalArgumentException: No matching constant for [0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Web security doesn't work with spring legacy and web.xml

    GitHub | 1 year ago | jamesclark92
    java.lang.IllegalArgumentException: No matching constant for [0]
  6. 0

    How to set a custom HTTP status code

    GitHub | 10 months ago | syedwasimali
    java.lang.IllegalArgumentException: No matching constant for [438]

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

      No matching constant for [255]

      at org.springframework.http.HttpStatus.valueOf()
    2. Spring
      HttpStatus.valueOf
      1. org.springframework.http.HttpStatus.valueOf(HttpStatus.java:488)
      1 frame
    3. Spring TestContext
      StatusResultMatchers.getHttpStatusSeries
      1. org.springframework.test.web.servlet.result.StatusResultMatchers.getHttpStatusSeries(StatusResultMatchers.java:139)
      1 frame