Workaround a problem with a copy or file save in a text document, open the file using UE, and save it as Utf-8 without a BOM format.
---an invisible character can cause such an exception. ---------
The Java.lang.NumberFormatException:For input string is displayed on the console: "15"
The actual information is "? 15"
xxx20171019-?15 c6:58:d6:3b:2a:b5 192.168.17.20 * 0
Java.lang.NumberFormatException:For input string: "? 15"
Java.lang.NumberFormatException:For input string: "??" at Java.lang.Integer.parseInt (integer.java:580)
At Java.lang.Integer.parseInt (integer.java:615)
At Com.ihangmei.hb.devices.deviceinfo$ipmaclist.isnewbyip (deviceinfo.java:992)
At Com.ihangmei.hb.devices.deviceinfo$ipmaclist.parseleasefile (deviceinfo.java:958)
At Com.ihangmei.hb.devices.deviceinfo$ipmaclist.update (deviceinfo.java:612)
At Com.ihangmei.hb.Heartbeat.submain (heartbeat.java:222)
At Com.ihangmei.hb.Heartbeat.main (heartbeat.java:117)
View the information as shown in Figure 15, view yes, 15 will have an unsigned character before. This character cannot be displayed on the Eclipse console. But it takes up one position. The left arrow will stop once again.