Skip to Content
0
Former Member
Nov 28, 2009 at 07:35 AM

CR4E 2.0 export error!

34 Views

<p>

I recently migrated a CR4E 1.x project to the latest 2.0 update 3. After a few tweaking of my code, I was able to get the everything working except "Export" or "Print". Whenever I clicked the icon, I am getting an "Error" page returned by "CrystalReportViewerHandler".

</P>

<p>

After enabling "crystal_exception_log_file" parameter value in web.xml, I was able to find out below stack trace. The application is running in WebSphere 6.1 container. Can someone shed some light on what possible cause it might be?

</p>

Thanks,<br/>

Alan

<pre>

2009-11-28 01:15:00

java.lang.NullPointerException

at com.crystaldecisions.sdk.occa.report.application.ds.new(SourceFile:124)

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

at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)

at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)

at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(SourceFile:249)

at com.businessobjects.report.web.event.bh.a(SourceFile:158)

at com.businessobjects.report.web.event.o.a(SourceFile:146)

at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)

at com.businessobjects.report.web.event.am.a(SourceFile:53)

at com.businessobjects.report.web.a.t.if(SourceFile:2091)

at com.businessobjects.report.web.e.a(SourceFile:300)

at com.businessobjects.report.web.e.a(SourceFile:202)

at com.businessobjects.report.web.e.a(SourceFile:135)

at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)

at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)

at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.a(SourceFile:109)

at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(SourceFile:69)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)

at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

.....

</pre>

Edited by: alwang88 on Dec 1, 2009 5:05 AM