Unable to obtain an analog of the class 'Stimulsoft.Report.StiTableStyle'

Stimulsoft Reports.WEB discussion
Post Reply
fmapendo
Posts: 1
Joined: Mon Mar 20, 2023 5:49 am

Unable to obtain an analog of the class 'Stimulsoft.Report.StiTableStyle'

Post by fmapendo »

I am using java to view report unfortunately I am getting an error

Code: Select all

org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 18

15: <body>
16: 	<%
17: 	    String reportPath = request.getSession().getServletContext().getRealPath("/reports/dumy_Report.mrt");
18: 	    StiReport report = StiSerializeManager.deserializeReport(new File(reportPath));
19: 	    report.render();
20: 	    StiWebViewerOptions options = new StiWebViewerOptions();
21: 	    pageContext.setAttribute("report", report);

javax.servlet.ServletException: com.stimulsoft.base.serializing.StiDeserializationException: java.lang.RuntimeException: Unable to obtain an analog of the class 'Stimulsoft.Report.StiTableStyle'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:916)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
org.apache.jsp.index_jsp._jspService(index_jsp.java:134)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:472)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

here is my code
---

Code: Select all

	<%
	    String reportPath = request.getSession().getServletContext().getRealPath("/reports/dumy_Report.mrt");
	    StiReport report = StiSerializeManager.deserializeReport(new File(reportPath));
	    report.render();
	    StiWebViewerOptions options = new StiWebViewerOptions();
	    pageContext.setAttribute("report", report);
	    pageContext.setAttribute("options", options);
	%>
	<stiwebviewer:webviewer report="${report}" options="${options}" />
---
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Unable to obtain an analog of the class 'Stimulsoft.Report.StiTableStyle'

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: Unable to obtain an analog of the class 'Stimulsoft.Report.StiTableStyle'

Post by Vadim »

Hello.

This will be fixed since 2023.2.1 version
Post Reply