java.lang.NullPointerException: Response status must not be 'null'

Java.net JIRA | jan.supol | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.NullPointerException

      Response status must not be 'null'

      at org.glassfish.jersey.message.internal.OutboundJaxrsResponse$Builder.status()
    2. Jersey Core
      OutboundJaxrsResponse$Builder.status
      1. org.glassfish.jersey.message.internal.OutboundJaxrsResponse$Builder.status(OutboundJaxrsResponse.java:286)
      1 frame
    3. JavaEE 7
      ValidationException.<init>
      1. javax.ws.rs.core.Response.status(Response.java:568)
      2. javax.ws.rs.core.Response.status(Response.java:579)
      3. javax.ws.rs.WebApplicationException.<init>(WebApplicationException.java:143)
      4. javax.ws.rs.WebApplicationException.<init>(WebApplicationException.java:95)
      5. javax.ws.rs.ValidationException.<init>(ValidationException.java:115)
      5 frames