使用SP25运行报告时出现NullPointerException

2020-08-17 08:45发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我们正尝试升级到CR4E的SP25,但发现我们的一些报告在生成报告时失败,并出现NullPointerException。 我尝试过切换到SP24,并且报告在那里运行良好。 我找不到相关报告之间的任何共通之处。 我在下面包括了堆栈跟踪信息-是否有人知道什么地方可能出了问题或有任何解决方法?

由:java.lang.NullPointerException
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.d.a(SourceFile:154)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:332)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.WideSectionFormatter.a(SourceFile:40)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for。(SourceFile:133)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for。(SourceFile:133)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:737)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(SourceFile:399)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:677)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(SourceFile:220)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1908)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.a(SourceFile:528)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.call(SourceFile:525)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.proxy.remoteagent.RemoteAgent $ a.execute(SourceFile:716)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.dt.a(SourceFile:186)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.s.a(SourceFile:158)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.s.a(SourceFile:127)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.bt.a(SourceFile:47)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.am.a(SourceFile:53)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.a.v.if(SourceFile:2151)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.e.a(SourceFile:304)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.e.a(SourceFile:206)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.e.a(SourceFile:135)〜[webreporting.jar:12.2.226.3772]
     在com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)〜[webreporting.jar:12.2.226.3772]
     在com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)〜[webreporting.jar:12.2.226.3772] 

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我们正尝试升级到CR4E的SP25,但发现我们的一些报告在生成报告时失败,并出现NullPointerException。 我尝试过切换到SP24,并且报告在那里运行良好。 我找不到相关报告之间的任何共通之处。 我在下面包括了堆栈跟踪信息-是否有人知道什么地方可能出了问题或有任何解决方法?

由:java.lang.NullPointerException
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.d.a(SourceFile:154)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:332)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.WideSectionFormatter.a(SourceFile:40)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for。(SourceFile:133)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for。(SourceFile:133)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:737)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(SourceFile:399)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:677)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(SourceFile:220)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1908)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.a(SourceFile:528)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.call(SourceFile:525)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.proxy.remoteagent.RemoteAgent $ a.execute(SourceFile:716)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.dt.a(SourceFile:186)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)〜[CrystalReportsRuntime.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.s.a(SourceFile:158)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.s.a(SourceFile:127)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.bt.a(SourceFile:47)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.event.am.a(SourceFile:53)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.a.v.if(SourceFile:2151)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.e.a(SourceFile:304)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.e.a(SourceFile:206)〜[webreporting.jar:12.2.226.3772]
     在com.businessobjects.report.web.e.a(SourceFile:135)〜[webreporting.jar:12.2.226.3772]
     在com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)〜[webreporting.jar:12.2.226.3772]
     在com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)〜[webreporting.jar:12.2.226.3772] 
付费偷看设置
发送
7条回答
大简至美
1楼 · 2020-08-17 09:27.采纳回答

此问题已升级为已解决并已解决。 它是一个存在于12.2.225和12.2.226中的错误。 该修复程序应在12.2.227中。 不过,我没有该版本的目标发布日期。

请注意-BOE SDK中不会发生此问题-仅在这两个CR for Eclipse版本中会出现此问题。

肖恩

代楠1984
2楼-- · 2020-08-17 09:23

嗨,

我们面临着与SP24相同的问题。 您能否让我知道您是如何解决的。 自3个月以来,我们一直被这个错误困扰。 请提出建议。

空代码
3楼-- · 2020-08-17 09:41

您好,

这些报表中是否包含参数?

我们从使用Flash切换到HTML5,可能是原因,仅是猜测

如果您重新创建报告,是否可以正常工作?

尝试删除对象,请从整个部分开始,直到找到导致问题的对象。

p>

祝你有美好的一天

昵称总是被占用
4楼-- · 2020-08-17 09:29

太好了-感谢您的帮助!

小c菟菟
5楼-- · 2020-08-17 09:30

我们还没有 到目前为止找到任何解决方案。 我们的支持合同已过期,因此我们一直试图通过SAP购买一次一次性事故,但不幸的是,他们似乎并不感兴趣。

一只江湖小虾
6楼-- · 2020-08-17 09:28

感谢您的建议,唐 。 报告中确实包含参数,我们正在设法使用新的HTML UI选择合适的值。 我们提供给我们产品的报告中大约有50%是例外,我可以看到该论坛上的其他用户也遇到了相同的堆栈跟踪,因此,客户创建供我们产品使用的报告似乎会包含 问题也是。 我曾尝试从有问题的报告中删除组件,但它们非常复杂,而且在导致或阻止该问题的原因上,我还没有发现任何共同点。 从玩耍的角度来看,我怀疑这与分页的确切位置有关。 从SP25降级到SP24可以解决此问题,但是鉴于即将完全消除对浏览器中Flash的支持,我们需要转到由SP25 ASAP启用的SAP UI5提示。

在调试器中,尽管进行了代码混淆,我仍然可以看到,在获取要与CrystalAssert进行比较的值时,正在生成NullPointerException。 如果我在调试器中跳过了这些行,报告将很好。

再次感谢您对此的关注。

葫芦娃快救爷爷
7楼-- · 2020-08-17 09:15

Great Shawn给出了答案。

Eclipse的CR通常每6个月发布一次,因此我们接近SP 27。

再次感谢

一周热门 更多>