访问工作台报空指针
错误处理 51
版本号:
镜像版本 harbor.oinone.top/oinone/oinone-designer-mini-v5.2:5.2.9
本地版本 5.2.9
问题:
报错信息:
Caused by: java.lang.NullPointerException: null
at pro.shushi.pamirs.work.bench.core.service.WorkBenchStatisticsServiceImpl.fetchViewAction(WorkBenchStatisticsServiceImpl.java:146) ~[pamirs-work-bench-core-5.2.0.jar:5.2.0]
at pro.shushi.pamirs.work.bench.core.service.WorkBenchStatisticsServiceImpl.queryUnCompingTaskStatistics(WorkBenchStatisticsServiceImpl.java:76) ~[pamirs-work-bench-core-5.2.0.jar:5.2.0]
at cn.dysoft.pamirs.oa.core.action.StandardOaHomeAction.queryWorkBenchHomePage(StandardOaHomeAction.java:31) ~[classes/:na]
at cn.dysoft.pamirs.oa.core.action.StandardOaHomeAction.construct(StandardOaHomeAction.java:45) ~[classes/:na]
你的期望:
正常执行
如何重现问题:
无
-
查看base_view_action表里面 name = WorkBenchMenus_WorkBenchMenu_ActiveUserTaskMenu发现被逻辑删除了。
在启动工程的pom文件中加上依赖
<dependency>
<groupId>pro.shushi.pamirs.work.bench</groupId>
<artifactId>pamirs-work-bench-view</artifactId>
</dependency>pro.shushi.pamirs.work.bench.view.init.WorkbenchMetaDataInit#initViewAction这个包里面有初始化工作台的viewAction,把被删除的viewActioin重新写进去。
1个月前