We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When changing something it is giving an error below which is disappearing too fast. Something about responsedata or responseheader is null.
I think it is caused by the following piece of code in RestClient.java:
@Override protected void onPostExecute(Object o) { if(o instanceof String) { ResponseData responseData = null; switch (method) { case TYPE.GET.THERMOSTAT_INFO: responseData = Converter.convertFromTemperature((String) o); break; case TYPE.GET.ZWAVE_DEVICES: responseData = Converter.convertFromDeviceInfo((String) o); break; case TYPE.SET.SCHEME_STATE: break; case TYPE.SET.SET_POINT: break; } if (responseData != null && responseHandler != null) { responseHandler.onResponse(responseData); } else if (responseHandler != null) responseHandler.onResponseError(new NullPointerException("response data or responseHandler is null"));
In this part responseData will be always null when method TYPE.SET.SCHEME_STATE or TYPE.SET.SET_POINT is used.
The text was updated successfully, but these errors were encountered:
Inversion-NL/Toon-Android@713ff23
No branches or pull requests
When changing something it is giving an error below which is disappearing too fast. Something about responsedata or responseheader is null.
I think it is caused by the following piece of code in RestClient.java:
In this part responseData will be always null when method TYPE.SET.SCHEME_STATE or TYPE.SET.SET_POINT is used.
The text was updated successfully, but these errors were encountered: