2 Replies Latest reply: Mar 6, 2012 3:01 AM by Kenneth Walenga RSS

IReportAppFactory openDocument() call fails in Eclipse

Kenneth Walenga
Currently Being Moderated

My webapp fails in Eclipse (but NOT when I run it on the server) at the following line 190:

 

189:                     java.util.Locale locUS = java.util.Locale.US;

190:                     ReportClientDocument rcd = rptAppFactory.openDocument(boInfoObject,0,locUS);

191:                     rcd.getDataDefController().getParameterFieldController().setCurrentValue("", "PayeeID", payeeID);

192:                     rcd.getDataDefController().getParameterFieldController().setCurrentValue("", "ReportName", rptName);

 

The error stack trace and root cause info is as follows. Any ideas?:

Stacktrace:

     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)

     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)

     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)

     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

 

root cause

 

javax.servlet.ServletException: com.crystaldecisions.proxy.remoteagent.ICommunicationAdapter.setProductLocale(Ljava/util/Locale;)V

     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)

     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)

     org.apache.jsp.ras_005fcr_005fweb_005fexport_jsp._jspService(ras_005fcr_005fweb_005fexport_jsp.java:332)

     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)

     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)

     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

 

root cause

 

java.lang.NoSuchMethodError: com.crystaldecisions.proxy.remoteagent.ICommunicationAdapter.setProductLocale(Ljava/util/Locale;)V

     com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

     com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

     com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

     com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

     org.apache.jsp.ras_005fcr_005fweb_005fexport_jsp._jspService(ras_005fcr_005fweb_005fexport_jsp.java:244)

     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)

     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)

     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

Actions