chenxingk / AliYunPan

自动备份文件到阿里云盘,备份工具,网盘备份,一款可以自动检测新增文件,自动上传,定时自动备份本地目录文件到【阿里云盘】等于一体的多功能云备份工具
https://gitee.com/xingk-code/AliYunPan
MIT License
400 stars 38 forks source link

备份失败,提示:遇到异常情况:java.lang.NullPointerException #26

Open chiazy123 opened 1 year ago

chiazy123 commented 1 year ago

[2023-04-22 00:59:07] 开始上传:D:\百度网盘\packages\ADC\LCC\LCC.sig [2023-04-22 00:59:08] 文件上传,请求状态码:400 [2023-04-22 00:59:08] 遇到异常情况:java.lang.NullPointerException at xin.xingk.www.util.BackupUtil.doUploadFile(BackupUtil.java:186) at xin.xingk.www.util.BackupUtil.uploadFileList(BackupUtil.java:146) at xin.xingk.www.util.BackupUtil.scanFolders(BackupUtil.java:98) at xin.xingk.www.util.BackupUtil.scanFolders(BackupUtil.java:105) at xin.xingk.www.util.BackupUtil.scanFolders(BackupUtil.java:105) at xin.xingk.www.util.BackupUtil.scanFolders(BackupUtil.java:105) at xin.xingk.www.util.BackupUtil.backupTask(BackupUtil.java:64) at xin.xingk.www.util.BackupUtil.startBackup(BackupUtil.java:51) at xin.xingk.www.ui.Home.backupTable(Home.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) /接着进行下一个文件的上传,出现相同错误,没有一个复制成功。本地文件路径检查正确,云盘路径用alist+raidriver挂载在本地,云盘路径检查正确,并且手动可复制、删除等一系列操作。更换两个地址,都出现相同错误。/