下一页的空指针异常

2020-08-17 09:09发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我在Java Swing应用程序...

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

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


我在Java Swing应用程序中使用Crystal。 我可以加载报告,但是在选择下一页时,第一次单击时会出现空指针异常。 再次选择下一页将加载下一页。 它在每个报告上执行此操作。 这是错误:

17546 [TSLVReader#3]错误com.businessobjects.reports.sdk.JRCCommunicationAdapter-在com.crystaldecisions.reports.formatter.formatter.objectformatter.da(SourceFile:154)处检测到异常:java.lang.NullPointerException com.crystaldecisions.reports.formatter.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)上的.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:332)在com.crystaldecisions.reports.formatter.formatter .objectformatter.ua(SourceFile:922)位于com.crystaldecisions.reports.formatter.formatter.objectformatter.ue(SourceFile:784)位于com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242) com.crystaldecisions.reports.formatter.formatter.objectter.WideSectionFormatter.a(SourceFile:40)处的com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64) formatter.objectformatter.ObjectFormatter.a(SourceFile:243)在 com.crystaldecisions.reports.formatter.formatter.formatter.objectformatter.va(SourceFile:185)上的com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)在com.crystaldecisions.reports.formatter.formatter。 com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)上的objectformatter.va(SourceFile:230)com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)上的objectformatter.va(SourceFile:230) 在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)在com.crystaldecisions.reports.formatter 位于com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)处的.formatter.objectformatter.ColumnFormatter.a(SourceFile:41),位于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)位于com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)位于com.crystaldecisions.reports.formatter.formatter。 (源文件:133)在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(源文件:120)在com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(源文件: 177)在com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)在com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.a(SourceFile:41)在com.crystaldecisions.reports com.crystalde的.formatter.formatter.paginator.PageFormatter.do(SourceFile:737) com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(SourceFile:220)上的cisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)在com.businessobjects.reports.sdk.JRCCommunicationAdapter.do( SourceFile:1908),位于com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660),位于com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166),com.businessobjects.reports.sdk.JRCCommunicationAdapter $ 2。 com.businessobjects.reports.sdk上的(SourceFile:528).JRCCommunicationAdapter $ 2.call(SourceFile:525)处com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)处com.businessobjects.reports.sdk。 JRCCommunicationAdapter.for(源文件:524)位于com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(源文件:423)位于com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(源文件:351)位于com.businessobjects.sdk.erom .jrc.aa(SourceFile:54)位于com.businessobjects.sdk.erom.jrc.a.execut e(SourceFile:67)位于com.crystaldecisions.proxy.remoteagent.RemoteAgent $ a.execute(SourceFile:716)位于com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)位于com.crystaldecisions.proxy.remoteagent .com.crystaldecisions.sdk.occa.report.application.dt.a。(RemoteAgent.a(SourceFile:537).com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558) ),位于com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)处,位于com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)处,com.businessobjects.crystalreports。 com.businessobjects.crystalreports.viewer.core.TSLVReader.a上的viewer.core.rs.RSRecordSource.openInputStream(未知源)com.businessobjects.crystalreports.viewer.core.TSLVReader.run上的viewer.core.TSLVReader.a(未知源) java.base/java.lang.Thread.run(Thread.java:835)17546 [TSLVReader#3] INFO com.businessobjects.reports.sdk.JRCCommunicationAdapter.JRCLicenseThr 水獭-释放引擎请求17546 [TSLVReader#3]调试com.crystaldecisions.reports.common.commandmanager-命令设置:NotUndoableCommand 17546 [TSLVReader#3]调试com.crystaldecisions.reports.common.commandmanager-命令性能:NotUndoableCommand 17546 [TSLVReader #3]调试com.crystaldecisions.reports.common.commandmanager--命令不可撤销->清除撤消堆栈java.lang.NullPointerException

1条回答
hongfeng1314
2020-08-17 09:52

我们的某些报告也遇到了相同的例外。 它是在我们升级到SP25时开始的,因此如果您可以选择降级到SP24,则可能会对其进行修复。 我们的支持合同已过期,因此我们一直在尝试购买一次性支持事件以获取修复,但不幸的是,SAP似乎对此并不感兴趣。

一周热门 更多>