执行 mule 批处理流程时出现异常,例如无法通过提及文件路径删除对象存储中的文件

Getting exception while executing mule batch flow like unable to delete file in object store by mentioning the path of the file

遇到这样的异常

Message               : Deleting D:\Mule-Soft\Mule-3.9-labdocs-workspace\lab-docs-pdfs-workspace\mule-way2learn-ws\.mule\.mule\batch-job-demo\objectstore\f59294d0-1133-11ea-af5c-ba4720524153\f8e14aa0-1133-11ea-af5c-ba4720524153.obj failed
Payload               : [{updated_date=null, user_name=test1, created_date=2014-12-11, status=10, updated_by=null, last_name=test1, created_by=admin, first_name=test1, id=100}, {updated_date=null, user_name=test2, created_date=2014-12-11, status=10, updated_by=null, last_name=test2, created_by=admin, first_name=test2, id=101}, {updated_date=null, user_name=test3, created_date=2014-12-11, status=10, updated_by=null, last_name=test3, created_by=admin, first_name=test3, id=102}, {updated_date=null, user_name=test4, created_date=2014-12-11, status=10, updated_by=null, last_name=test4, created_by=admin, first_name=test4, id=103}, {updated_date=null, user_name=test5, created_date=2014-12-11, status=10, updated_by=null, last_name=test5, created_by=admin, first_name=test5, id=104}, {updated_date=null, user_name=af, created_date=2014-12-11, status=10, updated_by=null, last_name=af, created_by=admin, first_name=af, id=105}, {updated_date=null, user_name=bf, created_date=2014-12-11, status=10, updated_by=null, last_name=bf, created_by=admin, first_name=bf, id=106}, {updated_date=null, user_name=aaaa, created_date=2014-12-11, status=10, updated_by=null, last_name=aaaa, created_by=admin, first_name=aaa, id=107}, {updated_date=null, user_name=cccc, created_date=2014-12-11, status=10, updated_by=null, last_name=ccc, created_by=admin, first_name=ccc, id=109}]
Payload Type          : java.util.LinkedList
Element               : /start-batch-job/processors/0 @ batch-job-demo:batch-job-demo.xml:74 (users-accounts-batch-job)
Element XML           : <batch:execute name="users-accounts-batch-job" doc:name="users-accounts-batch-job"></batch:execute>
--------------------------------------------------------------------------------
Root Exception stack trace:
org.mule.api.store.ObjectStoreException: Deleting D:\Mule-Soft\Mule-3.9-labdocs-workspace\lab-docs-pdfs-workspace\mule-way2learn-ws\.mule\.mule\batch-job-demo\objectstore\f59294d0-1133-11ea-af5c-ba4720524153\f8e14aa0-1133-11ea-af5c-ba4720524153.obj failed

执行批处理作业时。如图所示。该流由 http 组件调用,该组件通过批处理执行组件调用流 "user-accounts-batch-job",然后流继续通过 "get-user-account-step" 并再次批处理调用 "get-user-records-flow",然后流继续到第二批步骤和第二批步骤调用 "get-account-record" 然后流程到达完成阶段。发生的事情是在 "get-user-records" 中查询数据库后 mule 抛出上述错误我不明白如何解决这个问题。

错误似乎是由这个错误引起的:https://www.mulesoft.org/jira/browse/MULE-17349

如果您是 MuleSoft 客户,您可以在 MuleSoft 的帮助中心为其索取补丁。我不知道有任何解决方法。