问题描述:
个别报表模板中使用CSref公式取数,对模板进行抽取公式报错,
错误详细堆栈信息:java.lang.NullPointerException: null
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.calc.GetBookFormulaFromCsRef.queryTemplate(GetBookFormulaFromCsRef.java:108)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.calc.GetBookFormulaFromCsRef.exec(GetBookFormulaFromCsRef.java:53)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.calc.ConvertRefFormula.getBookFormula(ConvertRefFormula.java:71)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.calc.ConvertRefFormula.exec(ConvertRefFormula.java:41)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.calc.ConvertRefFormula.exec(ConvertRefFormula.java:60)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.assist.CreateFormulaScheme.by(CreateFormulaScheme.java:82)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.assist.CreateFormulaScheme.by(CreateFormulaScheme.java:43)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.parser.FindNormalScheme.create(FindNormalScheme.java:102)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.parser.FindNormalScheme$1.cell(FindNormalScheme.java:66)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.assist.CircleBookCell.circle(CircleBookCell.java:86)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.parser.FindNormalScheme.parse(FindNormalScheme.java:51)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.parser.FindNormalScheme.parse(FindNormalScheme.java:86)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.FormulaSchemeParserLink.parse(FormulaSchemeParserLink.java:53)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.FindFormulaScheme.scan(FindFormulaScheme.java:38)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.biz.ExtractFormulaScheme.action(ExtractFormulaScheme.java:55)
at: com.kingdee.eas.fi.gr.cslrpt.autoitem.facade.TemplateExecExtrFormula.extr(TemplateExecExtrFormula.java:80)
at: com.kingdee.eas.fi.gr.cslrpt.client.ExtractTemplateForClient.exec(ExtractTemplateForClient.java:19)
at: com.kingdee.eas.fi.gr.cslrpt.client.RPTTemplate_GroupNormal_ListUI.actionExtrItem_actionPerformed
推荐阅读