I'm working on a peace of code that generates crystal report programatically. That peace of code is working perfectly in my local environment, which is windows, Apache tomact. But when I deploy it to our development server(Linux, JBOSS) it is throwing a run time exception.
2010-02-24 15:08:17,538 http-10.174.17.244-8080-2 ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter Âu2013 detected an exception: java.lang.NullPointerException
I have debugged the code and this exception is not throwed during the program execution. It happens when the viewer try to show the programatically generated ReportClientDocument using a 'CrystalReportViewer"
Code: viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), pageContext.getOut());
I could send any other code, that you think would help analyze the problem better. Any help would be highly appreciated.
Thanks & Regards,
Edited by: anilchowdaryk on Feb 25, 2010 6:09 PM