Page 1 of 1

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

Posted: Mon Mar 20, 2023 5:57 am
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}" />
---

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

Posted: Tue Mar 21, 2023 1:16 pm
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Thu Mar 23, 2023 12:49 pm
by Vadim
Hello.

This will be fixed since 2023.2.1 version