FileManager throwing errors, not saving

Am running XWiki 10.3 on Ubuntu. I used to have FileManager extension running, but for reason I can’t figure it’s stopped working (unaware of any instance changes).

Uploading a file appears to go well, until it finishes and no error is reported in the browser. But the file doesn’t appear in the list. The catalina log for the tomcat8 instance has the following:

2018-06-07 16:17:10,505 [http://wiki.ss.saas.hpe.com/xwiki/bin/get/FileManager/Presentations?action=createFile&form_token=pYDgLixXJ3iBckKkmP5q5A] ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #createFile called at 39:xwiki:FileManagerCode.FolderSheet[line 7, column 1]
2018-06-07 16:17:10,505 [http://wiki.ss.saas.hpe.com/xwiki/bin/get/FileManager/Presentations?action=createFile&form_token=pYDgLixXJ3iBckKkmP5q5A] ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #handleFolderWebServiceRequest called at 39:xwiki:FileManagerCode.FolderSheet[line 2, column 1]

Could anyone help me understand what that is telling me, how to troubleshoot? Appreciate any advice.
-Alan

EDIT: Also, I’m seeing a bunch of the following warnings in the log, not sure if related:
2018-06-07 19:00:56,521 [http://wiki.ss.saas.hpe.com/xwiki/bin/get/FileManager/Presentations?data=files&limit=15&offset=0&outputSyntax=plain&sort=date] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Attachment.getFilesize] in 36:xwiki:FileManagerCode.FolderSheet@317,17
2018-06-07 19:00:58,545 [http://wiki.ss.saas.hpe.com/xwiki/bin/get/FileManager/Presentations?data=files&limit=15&offset=0&order=desc&outputSyntax=plain&sort=date] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Attachment.getFilesize] in 41:xwiki:FileManagerCode.FolderSheet@317,17
2018-06-07 19:01:04,639 [http://wiki.ss.saas.hpe.com/xwiki/bin/get/FileManager/Presentations?data=files&limit=15&offset=0&outputSyntax=plain&sort=date] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Attachment.getFilesize] in 40:xwiki:FileManagerCode.FolderSheet@317,17

It looks like upgrading to 10.4 helped with this… I am still getting a lot of deprecation warnings when the File Manager extension is used, but was able to upload a video file successfully.

i am using file manager 2.0.8 with xwiki 10.8.1
i uploading files with chinese name,some files upload failed ,the browser gives no hint,but in logs of tomcat,i get the following error logs:
2018-11-29 01:17:11,697 [http://10.225.14.226:8080/xwiki/wiki/S1T4/get/FileManager/2%20沉积相?action=createFile&form_token=IBwpMhOY7tB8xfwuyCFZxg] ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #createFile called at 3485:spaced:FileManagerCode.FolderSheet[line 7, column 1]
2018-11-29 01:17:11,697 [http://10.225.14.226:8080/xwiki/wiki/S1T4/get/FileManager/2%20沉积相?action=createFile&form_token=IBwpMhOY7tB8xfwuyCFZxg] ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #handleFolderWebServiceRequest called at 3485:spaced:FileManagerCode.FolderSheet[line 2, column 1]

i guess the root cause is the chinese name,how can i fix this bug

i cannot attatch a failed file with chinese name in this post.my file name is

潮上-潮间-潮下带微生物岩沉积模式 以美国早奥陶世为例 Warusavitharana 2013.jpg

i checked more logs as follow
Caused by: java.io.FileNotFoundException: /home/dev/xwiki11.8/xwikiData/storage/devtest/%4Dain/%57eb%48ome/~this/attachments/%E6%BD%AE%E4%B8%8A-%E6%BD%AE%E9%97%B4-%E6%BD%AE%E4%B8%8B%E5%B8%A6%E5%BE%AE%E7%94%9F%E7%89%A9%E5%B2%A9%E6%B2%89%E7%A7%AF%E6%A8%A1%E5%BC%8F %E4%BB%A5%E7%BE%8E%E5%9B%BD%E6%97%A9%E5%A5%A5%E9%99%B6%E4%B8%96%E4%B8%BA%E4%BE%8B %57arusavitharana 2013.jpg/%E6%BD%AE%E4%B8%8A-%E6%BD%AE%E9%97%B4-%E6%BD%AE%E4%B8%8B%E5%B8%A6%E5%BE%AE%E7%94%9F%E7%89%A9%E5%B2%A9%E6%B2%89%E7%A7%AF%E6%A8%A1%E5%BC%8F %E4%BB%A5%E7%BE%8E%E5%9B%BD%E6%97%A9%E5%A5%A5%E9%99%B6%E4%B8%96%E4%B8%BA%E4%BE%8B Warusavitharana 2013.jpg~tmpE7KDmFWK (File name too long)

so i guess this is related to
https://jira.xwiki.org/browse/XWIKI-13402

See Loading... .