wso2 / product-iots

Welcome to the WSO2 IoT Server source code! For info on working with the WSO2 IoT Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
182 stars 181 forks source link

[IOTS-228] NumberFormatException thrown when laptop agent is stopped #702

Open madhawap opened 7 years ago

madhawap commented 7 years ago

Following error is thrown when the laptop agent is stopped.

 java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1842) at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122) at java.lang.Float.parseFloat(Float.java:451) at java.lang.Float.valueOf(Float.java:416) at org.wso2.agent.resourcemonitor.infocollector.Collector.getSysUsage(Collector.java:70) at org.wso2.agent.resourcemonitor.Monitor.getSysUsage(Monitor.java:42) at org.wso2.agent.main.JavaApp.main(JavaApp.java:119) 

Reference: https://wso2.org/jira/browse/IOTS-228

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.