We are using IE9 with this version of SmartGWT :
SmartClient Version: v10.0p_2015-02-09/EVAL Deployment (expires 2015.04.10_06.49.00)
The error does not occur if we remove the user defined formula from the list grid, if included we get the error.
This is the code that was being executed:
This is the error we receive:
SmartClient Version: v10.0p_2015-02-09/EVAL Deployment (expires 2015.04.10_06.49.00)
The error does not occur if we remove the user defined formula from the list grid, if included we get the error.
This is the code that was being executed:
Code:
DSRequest dsRequestProperties = new DSRequest();
dsRequestProperties.setExportAs(ExportFormat.OOXML);
String fileName = "Data_" + selectedData + ".xlsx";
dsRequestProperties.setExportFilename(fileName);
dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
grid.exportClientData(dsRequestProperties, new RPCCallback()
{
@Override
public void execute(RPCResponse response, Object rawData, RPCRequest request)
{
}
});Code:
java.lang.IllegalArgumentException: Unexpected type of cell: class org.apache.poi.xssf.streaming.SXSSFCell. Only XSSFCells can be evaluated.
at org.apache.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:260)
at org.apache.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCell(XSSFFormulaEvaluator.java:151)
at com.isomorphic.rpc.ExcelDataExport.getExportObject(ExcelDataExport.java:642)
at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:633)
at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:460)
at com.isomorphic.rpc.BuiltinRPC.downloadClientExport(BuiltinRPC.java:850)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:805)
at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:309)
at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:231)
at com.pci.portal.server.DataSourceResolver.handleRPCRequest(DataSourceResolver.java:90)
at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:175)
at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:142)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at com.pci.gtdw.web.filter.ResponseTimeFilter.doFilter(ResponseTimeFilter.java:95)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3296)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3262)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2171)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2097)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2075)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)