cancel
Showing results for 
Search instead for 
Did you mean: 

c.b.reports.sdk.JRCCommunicationAdapter : detected an exception: java.lang.NullPointerException

0 Kudos

Hello,

We have recently moved our project from from ant to maven + Spring Boot. on the old version Crystal reports worked fine but some of them failing if contained data (there is no NPR if report is going to be empty). Our stake trace looks like

c.b.reports.sdk.JRCCommunicationAdapter : detected an exception: java.lang.NullPointerException

at com.businessobjects.reports.jdbinterface.common.ResultSetReader.readColumnValue(Unknown Source)

at com.crystaldecisions.reports.queryengine.ResultSetRecordReader.a(SourceFile:67)

at com.crystaldecisions.reports.queryengine.Rowset.a(SourceFile:1246)

at com.crystaldecisions.reports.queryengine.RowsetColumn.x6(SourceFile:129)

at com.crystaldecisions.reports.queryengine.Rowset.An(SourceFile:1309)

at com.crystaldecisions.reports.queryengine.Rowset.bO(SourceFile:424)

at com.crystaldecisions.reports.queryengine.Rowset.bJ(SourceFile:339)

at com.crystaldecisions.reports.queryengine.RowsetBase.bK(SourceFile:593)

at com.crystaldecisions.reports.queryengine.RowsetBase.zv(SourceFile:244)

at com.crystaldecisions.reports.datalayer.a$e.zv(SourceFile:1602)

at com.crystaldecisions.reports.basicdataengine.a.w(SourceFile:963)

at com.crystaldecisions.reports.basicdataengine.a.p(SourceFile:714)

at com.crystaldecisions.reports.basicdataengine.a.a(SourceFile:220)

at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1626)

at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)

at com.crystaldecisions.reports.dataengine.m.void(SourceFile:336)

at com.crystaldecisions.reports.dataengine.j.void(SourceFile:531)

at com.crystaldecisions.reports.dataengine.m.o(SourceFile:422)

at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)

at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)

at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)

at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1096)

at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)

at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:258)

at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4666)

at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4580)

at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2657)

at com.crystaldecisions.reports.dataengine.DataProcessor2.case(SourceFile:2615)

at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2287)

at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2447)

at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1016)

at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.ft(SourceFile:526)

at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)

at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)

at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(SourceFile:387)

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

at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:79)

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

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

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

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

at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:677)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1943)

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

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

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

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

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

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

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)

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

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

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

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

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

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

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

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

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

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

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

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

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

Any help is appritiated

DellSC
Active Contributor

I changed your tag to "SAP Crystal Reports, version for Eclipse" because that's the tag to use on questions about Crystal's Java SDK. The SAP Crystal Reports tag is for questions about report design and how to use the Crystal desktop software.

-Dell

Accepted Solutions (0)

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

Are you downloading the SDK through Maven as part of your build? If so, that may be your problem. Maven doesn't necessarily have the latest version of the libraries and there are a lot of interdependencies that it doesn't always catch. I've found that the most reliable way to build a Java app that uses the SDK is to have your build file refer to a local copy of the SDK libraries.

-Dell