问题描述:
客户的回单程序安装包是2022.4.21发布的版本,如下图所示,广发银行电子回单任务失败,失败原因:失败流程节点-下载前预处理中:null...
查看回单日志ebgproxy.log,显示有空指针:
2022-10-11 08:56:00.362 INFO [GDB_DC,,1573341421157482496] 12124 --- [pool-2-thread-80] c.k.b.bank.gdb.dc.job.GdbDcFetchListJob : 准备调用0095接口获取回单
2022-10-11 08:56:00.362 INFO [GDB_DC,,1573341421157482496] 12124 --- [pool-2-thread-80] c.k.b.bank.gdb.dc.job.GdbDcFetchListJob : 类实例化
2022-10-11 08:56:00.363 INFO [GDB_DC,,1573341421157482496] 12124 --- [pool-2-thread-80] c.k.b.bank.gdb.dc.GdbUtils.Receipt0095 : temp路径 = D:/cib_receipt\tempPath\GDB_DC\,0095接口获取的pdf文件直接存放在这个文件夹里
2022-10-11 08:56:00.363 INFO [GDB_DC,,1573341421157482496] 12124 --- [pool-2-thread-80] c.k.b.r.r.atom.AbstractReceiptListFlow : 执行获取列表过程发生异常。
java.lang.NullPointerException: null
at com.kingdee.bos.bank.gdb.dc.GdbUtils.Receipt0095.getReceiptNo(Receipt0095.java:87)
at com.kingdee.bos.bank.gdb.dc.GdbUtils.Receipt0095.downloadReceipt(Receipt0095.java:46)
at com.kingdee.bos.bank.gdb.dc.job.GdbDcFetchListJob.doJob(GdbDcFetchListJob.java:132)
at com.kingdee.bos.receiptmanage.receipt.atom.AbstractReceiptListFlow.doTask(AbstractReceiptListFlow.java:138)
at com.kingdee.bos.receiptmanage.receipt.atom.AbstractReceiptListFlow$MyTask.run(AbstractReceiptListFlow.java:334)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
分析解答:
查看空指针出的代码,如下,获取不到回单任务的信息。
咨询产品部开发同事,针对本问题提供私包进行修复。如有遇到该问题的客户,请先提单反馈。
推荐阅读