Fatal Exception: java.lang.NumberFormatException: For input string: "result"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at com.toonapps.toon.entity.UsageInfo.getChartDataPoints(UsageInfo.java:131)
at com.toonapps.toon.view.fragments.UsageGraphFragment.onUsageChanged(UsageGraphFragment.java:207)
at com.toonapps.toon.controller.GasAndElecFlowController.onElecUsageInfoChanged(GasAndElecFlowController.java:96)
at com.toonapps.toon.controller.GasAndElecFlowController.onResponse(GasAndElecFlowController.java:109)
at com.toonapps.toon.data.RestClient$16.onResponse(RestClient.java:302)
at com.toonapps.toon.data.RestClient$16.onResponse(RestClient.java:289)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Fatal Exception: java.lang.NumberFormatException: For input string: "result" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122) at java.lang.Float.parseFloat(Float.java:451) at com.toonapps.toon.entity.UsageInfo.getChartDataPoints(UsageInfo.java:131) at com.toonapps.toon.view.fragments.UsageGraphFragment.onUsageChanged(UsageGraphFragment.java:207) at com.toonapps.toon.controller.GasAndElecFlowController.onElecUsageInfoChanged(GasAndElecFlowController.java:96) at com.toonapps.toon.controller.GasAndElecFlowController.onResponse(GasAndElecFlowController.java:109) at com.toonapps.toon.data.RestClient$16.onResponse(RestClient.java:302) at com.toonapps.toon.data.RestClient$16.onResponse(RestClient.java:289) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8669) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)