Hi everyone
i need to perform export to excel in the listgrid
but when i do export an error is showing
"java.lang.String cannot be cast to java.util.Map".
I am using an arraylist to populate the grid. just inserting
the bean object to the list and setting the dsresponse..
also while doing any actions on the page the fetch method is getting called.
when clicking the export button also the fetch method is gettting called. i am using DMI to perfrom grid fill.
and using the java call like
<serverObject lookupStyle="new" className="com.rsw.dibac.bean.MB_LAGINF9"/>
the version used is "SmartClient_70rc2_Evaluation"
full stack trace is
com.isomorphic.servlet.IDACall top-level exception
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at com.isomorphic.rpc.DataExport.getDelimitedValues(D ataExport.java:358)
at com.isomorphic.rpc.DataExport.getDelimitedValues(D ataExport.java:329)
at com.isomorphic.rpc.DataExport.exportResultSet(Data Export.java:264)
at com.isomorphic.rpc.RPCManager.completeResponse(RPC Manager.java:763)
at com.isomorphic.rpc.RPCManager.send(RPCManager.java :494)
at com.isomorphic.rpc.RPCManager.sendFailure(RPCManag er.java:577)
at com.isomorphic.rpc.RPCManager.sendFailure(RPCManag er.java:598)
at com.isomorphic.servlet.IDACall.processRequest(IDAC all.java:112)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java :54)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
at com.isomorphic.servlet.BaseServlet.service(BaseSer vlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.isomorphic.js.JSSyntaxScannerFilter.doFilter(J SSyntaxScannerFilter.java:241)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.isomorphic.servlet.CompressionFilter.doFilter( CompressionFilter.java:235)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:228)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:212)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:619)
Please help
i need to perform export to excel in the listgrid
but when i do export an error is showing
"java.lang.String cannot be cast to java.util.Map".
I am using an arraylist to populate the grid. just inserting
the bean object to the list and setting the dsresponse..
also while doing any actions on the page the fetch method is getting called.
when clicking the export button also the fetch method is gettting called. i am using DMI to perfrom grid fill.
and using the java call like
<serverObject lookupStyle="new" className="com.rsw.dibac.bean.MB_LAGINF9"/>
the version used is "SmartClient_70rc2_Evaluation"
full stack trace is
com.isomorphic.servlet.IDACall top-level exception
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at com.isomorphic.rpc.DataExport.getDelimitedValues(D ataExport.java:358)
at com.isomorphic.rpc.DataExport.getDelimitedValues(D ataExport.java:329)
at com.isomorphic.rpc.DataExport.exportResultSet(Data Export.java:264)
at com.isomorphic.rpc.RPCManager.completeResponse(RPC Manager.java:763)
at com.isomorphic.rpc.RPCManager.send(RPCManager.java :494)
at com.isomorphic.rpc.RPCManager.sendFailure(RPCManag er.java:577)
at com.isomorphic.rpc.RPCManager.sendFailure(RPCManag er.java:598)
at com.isomorphic.servlet.IDACall.processRequest(IDAC all.java:112)
at com.isomorphic.servlet.IDACall.doPost(IDACall.java :54)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
at com.isomorphic.servlet.BaseServlet.service(BaseSer vlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.isomorphic.js.JSSyntaxScannerFilter.doFilter(J SSyntaxScannerFilter.java:241)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.isomorphic.servlet.CompressionFilter.doFilter( CompressionFilter.java:235)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:228)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:212)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:619)
Please help
Comment