Sorry, editor was acting up...here is my index.jsp:
<%@page import="com.crystaldecisions.reports.sdk.*" %>
<%@page import="com.crystaldecisions.sdk.occa.report.reportsource.*" %>
<%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
<%
Object reportSource = session.getAttribute("reportSource");
if(reportSource == null)
{
ReportClientDocument reportClientDoc = new ReportClientDocument();
String report = "/Sample Reports/Customer Profile Report.rpt";
reportClientDoc.open(report, 0);
reportSource = reportClientDoc.getReportSource();
session.setAttribute("reportSource", reportSource);
}
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setReportSource(reportSource);
viewer.setOwnPage(true);
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
%>
<%@page import="com.crystaldecisions.report.web.viewer.*"%>
Above the null pointer exception I get this:
javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException---- Error code:-2147467259 Error code name:failed
I don't get any errors in the debugger.
Also, when I try to run the report directly as a jsp, i get returned a page with a grey table that says "Error" but no actual error. Again, no errors in the bugger, just a blank error page.
This seems to run fine when running through Eclipse. However I am using Intellij IDEA now, and I have tried to migrate the eclipse settings over as best I could so perhaps something is acting up there, but I have no idea where to look.