问题描述:
当前会计期间2020.12期,存货收发存汇总表打开正常,但是查询存货收发存明细账时报错,具体信息如下:
Caused by: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:161)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:64)
... 16 more
Caused by: java.lang.NullPointerException
at com.kingdee.eas.basedata.assistant.PeriodUtils.getNextPeriodInfo(PeriodUtils.java:972)
at com.kingdee.eas.scm.cal.app.StockDetailReportFacadeControllerBean._createTempTable(StockDetailReportFacadeControllerBean.java:210)
at com.kingdee.eas.framework.report.app.AbstractCommRptBaseControllerBean.createTempTable(AbstractCommRptBaseControllerBean.java:134)
at sun.reflect.GeneratedMethodAccessor2633.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:125)
... 17 more
解决方案:
出现异常是由于未定义2021年的会计期间导致,新增2021年会计期间,重新查询报表即可。
推荐阅读