Details
Description
Hi, I have a resource method as below:
@GET
@Path("setmethod")
public String setMethod1()
In this method, I simply construct a ServiceUnavailableException with Date parameter. Then when it runs into e.getRetryTime(new Date()) it give below error:
java.lang.NullPointerException
at javax.ws.rs.ServiceUnavailableException.getRetryTime(ServiceUnavailableException.java:262)