jon.vansteen | 2016-10-11 17:21:04 UTC | #1
Trying to do a GET on a specific edge using its ID, but the response object that is returned is null using Java SDK version 0.38.2.2108. However, the rawResponseBody does come back with the full value. To get the response I am using ` ApiResponse<Edge> response = tpeApi.get().getProvidersEdgesEdgeIdWithHttpInfo(edgeID); `
This worked correctly when using Java SDK 0.34.1.100
tim.smith | 2016-10-11 17:25:42 UTC | #2
Is there an exception in the ApiResponse object (use the getException method)?
jon.vansteen | 2016-10-11 17:28:46 UTC | #3
I did response.getException() and it came back with "com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.mypurecloud.sdk.model.Edge["dateCreated"])"
tim.smith | 2016-10-11 17:36:02 UTC | #4
I've created API-2012 to address the NPE. Something's up with date parsing.
jon.vansteen | 2016-10-11 17:36:47 UTC | #5
Sounds good, thanks!
tim.smith | 2016-10-11 18:09:46 UTC | #6
This should be fixed in 0.38.3.110, available as soon as it syncs to maven central.
system | 2017-08-28 19:27:54 UTC | #7
This post was migrated from the old Developer Forum.
ref: 493