使用SP24运行报告时出现NullPointerException

2020-08-19 09:53发布

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

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


我们最近从2011版本升级到2016。我们用SP24版本的jar文件替换了所有旧的jar。 一些报告由于NullPointer异常而失败。 下面是堆栈跟踪。 设计人员可以生成相同的报告。 我们长期以来一直在这个错误上停留。 由于没有Crystal运行时源代码,因此无法调试问题。 请帮忙。

更改主报告表连接信息

更改子报告表的连接信息

设置主要报告的参数

启动验证数据库

已完成验证数据库

设置子报告的参数

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException :java.lang.NullPointerException ----错误代码:-2147467259错误代码名称:失败

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:238)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:148)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:129)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:112)

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpJRCExportReport.runReportExport( RpJRCExportReport.java:742

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpScheduleReportRun.process( RpScheduleReportRun.java:177

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpScheduleReportRun.drive( RpScheduleReportRun.java:263

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpScheduleReportRun.main( RpScheduleReportRun.java:286

由以下原因引起: java.lang.NullPointerException

com.crystaldecisions.reports.formatter.formatter.objectformatter.d.a(SourceFile:154)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:332)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)

com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)

com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)

com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)

在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)

在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)

com.crystaldecisions.reports.formatter.formatter上。 paginator.PageFormatter.do (SourceFile:737)

在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(SourceFile:399)

在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)

com.crystaldecisions.reports.formatter.formatter上。 paginator.PageFormatter.do (SourceFile:677)

在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)

com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:97)

com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:253)

com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:647)

在com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:597)

com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:641)

位于 com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler。 int (SourceFile:677)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do ((源文件:1943)

com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)

com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.a(SourceFile:528)

在com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.call(SourceFile:525)

在com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)

在com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int (源文件:423)

com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)

在com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)

com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)

在com.crystaldecisions.proxy.remoteagent.RemoteAgent $ a.execute(SourceFile:716)

在com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)

在com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)

在com.crystaldecisions.sdk.occa.report.application.dt.a(SourceFile:186)

在com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)

在com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:224)

...还有7个

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

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


我们最近从2011版本升级到2016。我们用SP24版本的jar文件替换了所有旧的jar。 一些报告由于NullPointer异常而失败。 下面是堆栈跟踪。 设计人员可以生成相同的报告。 我们长期以来一直在这个错误上停留。 由于没有Crystal运行时源代码,因此无法调试问题。 请帮忙。

更改主报告表连接信息

更改子报告表的连接信息

设置主要报告的参数

启动验证数据库

已完成验证数据库

设置子报告的参数

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException :java.lang.NullPointerException ----错误代码:-2147467259错误代码名称:失败

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:238)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:148)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:129)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:112)

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpJRCExportReport.runReportExport( RpJRCExportReport.java:742

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpScheduleReportRun.process( RpScheduleReportRun.java:177

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpScheduleReportRun.drive( RpScheduleReportRun.java:263

at us.nm.state.hsd.aspen.business.batch.rp.crystal.RpScheduleReportRun.main( RpScheduleReportRun.java:286

由以下原因引起: java.lang.NullPointerException

com.crystaldecisions.reports.formatter.formatter.objectformatter.d.a(SourceFile:154)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:332)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)

com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)

com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)

com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)

在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)

在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)

在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)

com.crystaldecisions.reports.formatter.formatter上。 paginator.PageFormatter.do (SourceFile:737)

在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(SourceFile:399)

在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)

com.crystaldecisions.reports.formatter.formatter上。 paginator.PageFormatter.do (SourceFile:677)

在com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)

com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:97)

com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:253)

com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:647)

在com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:597)

com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:641)

位于 com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler。 int (SourceFile:677)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do ((源文件:1943)

com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)

com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.a(SourceFile:528)

在com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2.call(SourceFile:525)

在com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)

在com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int (源文件:423)

com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)

在com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)

com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)

在com.crystaldecisions.proxy.remoteagent.RemoteAgent $ a.execute(SourceFile:716)

在com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)

在com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)

在com.crystaldecisions.sdk.occa.report.application.dt.a(SourceFile:186)

在com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)

在com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)

在com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:224)

...还有7个

付费偷看设置
发送
1条回答
打一壶酱油
1楼-- · 2020-08-19 10:25

仅由于升级了Crystal并不一定意味着您必须升级Crystal for VS SDK。 但是,SP26删除了对.NET 3.5.1的要求,并确实增加了与某些较新数据源的连接性。 您可以在维基。 如果您只是更新运行时而不是开发应用程序时使用的版本,那可能就是您的问题。 通常,用于开发应用程序的版本必须与安装的运行时版本匹配。 但是,如果转到上面的Wiki链接并查找" WinFormCRViewer.zip",则可以对应用程序配置文件进行一些调整,以使其可以在更新版本的SDK上运行。 在zip的下载链接上方,有一个指向知识库文章的链接,该文章解释了需要执行的操作。

-Dell

一周热门 更多>