microsoft / Partner-Center-Java

Partner Center SDK for Java
https://docs.microsoft.com/java/partnercenter/
31 stars 12 forks source link

NPE on requests timeout #95

Closed manuelmazzuola closed 4 years ago

manuelmazzuola commented 4 years ago

When a request timeouts there is no response to parse and a NPE occures at https://github.com/microsoft/Partner-Center-Java/blob/92a2e566592c4c928d625b9aad04fb69dc2a42d9/src/main/java/com/microsoft/store/partnercenter/exception/PartnerResponseParseException.java#L99

java.lang.NullPointerException
    at com.microsoft.store.partnercenter.exception.PartnerResponseParseException.toString(PartnerResponseParseException.java:99)
ghost commented 4 years ago

@manuelmazzuola this issue has been resolved in the upcoming 1.15.2 release. Thank you for bringing it to our attention.