Hi,
I have just started working on migrating from Crystal Reports 9 to SAP BO BI 3.x.
Currently the sample I am working on connects to the repository which contains the Crys Rep 9 version reports.
After migration of a sample report from 9 to BI 3.x, I get a Nulpointer Exception at viewer.processRequest(..)
Note: I havent used the latest jars yet.
Below is the sample code
CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
IReportSourceFactory factoryPS = (IReportSourceFactory) enterpriseSession.getService("PSReportFactory");
Object reportSource = factoryPS.openReportSource(ReportID,Locale.ENGLISH);
viewer.setReportSource(reportSource);
...(setting report parameters)
...(setting viewer properrties)
....
viewer.processHttpRequest(request, response, this.getServlet().getServletConfig().getServletContext(), null);
I tried debugging to find out the source of this exception, but in vain.
I am able to get the report ID..the report Object..but on the mentioned line this exceptions comes up.
Can anyone help me in this?
Also in the folder C:\Program Files\Business Objects\Common\4.0\java\lib, there are 70+ jars.Do i need to use all of them?
Are there anymore jars I should look for apart from the above path?
Thanks,
Raaj