Closed michaelstephendavies closed 8 years ago
At Protocol.java:84 you check for Protocol.Field.REASON where I assume you meant Protocol.Field.ERROR. This means that if the error has an error field but not a reason field, the error is incorrectly null.
Protocol.Field.REASON
Protocol.Field.ERROR
error
reason
null
Thank you so much! You're absolutely right, of course :)
Should be fixed with https://github.com/delight-im/Android-DDP/commit/3a3b15305165bbee3bc60c802efa38924f1b61db
At Protocol.java:84 you check for
Protocol.Field.REASON
where I assume you meantProtocol.Field.ERROR
. This means that if the error has anerror
field but not areason
field, theerror
is incorrectlynull
.