java.lang.NullPointerException

Spring JIRA | Kazuki Shimizu | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.util.LinkedCaseInsensitiveMap.putAll()
    2. Spring Core
      LinkedCaseInsensitiveMap.putAll
      1. org.springframework.util.LinkedCaseInsensitiveMap.putAll(LinkedCaseInsensitiveMap.java:101)
      1 frame
    3. Spring
      ResponseEntity$DefaultBuilder.headers
      1. org.springframework.http.HttpHeaders.putAll(HttpHeaders.java:907)
      2. org.springframework.http.ResponseEntity$DefaultBuilder.headers(ResponseEntity.java:384)
      3. org.springframework.http.ResponseEntity$DefaultBuilder.headers(ResponseEntity.java:364)
      3 frames
    4. Unknown
      ResponseEntityTest.test
      1. ResponseEntityTest.createResponseEntity(ResponseEntityTest.java:33)
      2. ResponseEntityTest.test(ResponseEntityTest.java:17)
      2 frames