Hi, I have a resource method as below: @GET @Path("setmethod") public String setMethod1() { ServiceUnavailableException e = new ServiceUnavailableException(new Date()); e.getRetryTime(new Date()); ....}
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) I have create a jira in https://issues.apache.org/jira/browse/CXF-6356 and provide a proposed fix. Can you please take a look at the problem? Thanks a lot! Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/NPE-when-calling-ServiceUnavailableException-getRetryTime-tp5756231.html Sent from the cxf-dev mailing list archive at Nabble.com.