cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Crystal Report viewer JSP, Subreport error

Former Member
0 Kudos

I'm running a web application who uses the Crystal Report Viewer for JSP, version 12. (reportviewer12). It works fine, but only have problems running some reports who contains sub reports in them, and I get the following error:

HTTP Status 500 - javax.servlet.ServletException:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException:
Unexpected ValueType: ValueType=[255]---- Error code:-2147467259 Error code name:failed

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType: ValueType=[255]---- Error code:-2147467259 Error code name:failed
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    CookieAuthFilter.doFilter(CookieAuthFilter.java:214)
root cause

javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType: ValueType=[255]---- Error code:-2147467259 Error code name:failed
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:160)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    CookieAuthFilter.doFilter(CookieAuthFilter.java:214)

Using the earlier version (11), I'm able to run the same report, but for some business rules, I have to implement the version 12.

I have tried updating the lib/.jar files, with the most recent Runtime Libraries from here: https://archive.sap.com/documents/docs/DOC-29757, but the error persists, and Searching a lot on the web, but I'm unable to find a similar scenario.

I'm using postgresql-8.3.jar, in order to connect with my postgres database, but as I said, It works well for all the other reports, and It's only showing errors when the main report contains sub reports.

As additional info, I'm using Railo version 3.2.1, in a linux server (Ubuntu 14.04)

Could someone help me to fix this error? Thanks in advance 🙂

Accepted Solutions (0)

Answers (0)