2012-04-28 11:50:04,305 ERROR ErrorLog (execute:46) [http-8080-2] - class en.dlink.action.admin.SendUploadAction MESSAGE : admin has been connected to 127.0.0.1 host, 34440 port. He/she try to send reboot command to  14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException: java.lang.RuntimeException: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in data/mapper/UploadMapper.xml.  
--- The error occurred while applying a parameter map.  
--- Check the upload.getNotUploaded-InlineParameterMap.  
--- Check the statement (query failed).  
--- Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where status=0 || status=1' at line 1
2012-04-28 12:22:20,761 ERROR ErrorLog (execute:47) [http-8080-1] - class en.dlink.action.admin.SendUploadAction MESSAGE : admin has been connected to 127.0.0.1 host, 33555 port. He/she try to send reboot command to  14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException: java.lang.RuntimeException: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in data/mapper/UploadMapper.xml.  
--- The error occurred while applying a parameter map.  
--- Check the upload.getNotUploaded-InlineParameterMap.  
--- Check the statement (query failed).  
--- Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where status=1' at line 1
2012-04-28 12:55:48,594 ERROR ErrorLog (execute:165) [http-8080-6] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 127.0.0.1 host, 35253 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException: java.lang.NullPointerException
2012-04-28 13:04:37,649 ERROR ErrorLog (execute:165) [http-8080-2] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 127.0.0.1 host, 53857 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException: java.lang.NullPointerException
2012-04-28 13:14:53,026 ERROR ErrorLog (execute:166) [http-8080-1] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 127.0.0.1 host, 52570 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException
2012-04-28 13:51:43,352 ERROR ErrorLog (execute:166) [http-8080-2] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 192.168.1.53 host, 60179 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException
2012-04-28 13:56:32,072 ERROR ErrorLog (execute:166) [http-8080-2] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 127.0.0.1 host, 55523 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException
2012-04-28 13:58:59,189 ERROR ErrorLog (execute:166) [http-8080-1] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 127.0.0.1 host, 55553 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException
2012-04-28 14:00:59,933 ERROR ErrorLog (execute:166) [http-8080-2] - class en.dlink.action.admin.FwUpgradeAction MESSAGE : admin has been connect from 127.0.0.1 host, 51367 port. He/she tried to upload file for 14D64DE85A80 device.  ERROR MESSAGE : java.lang.RuntimeException
2012-04-28 17:09:52,736 ERROR ErrorLog (execute:143) [http-8080-1] - class en.dlink.action.ViewDevicesAction MESSAGE : admin has been connected from 127.0.0.1 host, 46222 port. He/she try to view devices of the 1 network.  ERROR MESSAGE : java.lang.RuntimeException: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in data/mapper/FileMapper.xml.  
--- The error occurred while applying a parameter map.  
--- Check the files.getUpgradeStatusForDeviceByType-InlineParameterMap.  
--- Check the statement (query failed).  
--- Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and  d.file_id=f.id and f.file_type='1 Firmware Upgrade Image' AND d.upgrade_dat' at line 1
