Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Isomorphic
    replied
    @sampietrog were you previously working with an older version of SmartClient? If so, then you probably did not correctly install the new product and are still working with parts of the old product. Correct installation instructions are in the SmartClient Reference under "Deploying SmartClient". Be sure to also clear your browser cache.

    Leave a comment:


  • sampietrog
    replied
    Originally posted by Isomorphic
    There is a workaround, however, this was resolved for 8.0 and you should most likely be evaluating with that version. It's on the download page now.
    I'm interested too. I'm having the same problem using smartgwtpro 2.5 nightly build downloaded 2 days ago

    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
    at com.isomorphic.rpc.ExcelDataExport.export(ExcelDataExport.java:181)
    at com.isomorphic.rpc.ExcelDataExport.export(ExcelDataExport.java:103)
    at com.isomorphic.rpc.ExcelDataExport.exportResultSet(ExcelDataExport.java:82)
    at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:421)
    at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:906)
    at com.isomorphic.rpc.RPCManager.send(RPCManager.java:582)
    at com.isomorphic.rpc.RPCManager.sendFailure(RPCManager.java:665)
    at com.isomorphic.rpc.RPCManager.sendFailure(RPCManager.java:686)
    at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:136)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:95)
    at com.isomorphic.servlet.IDACall.doPost(IDACall.java:54)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:774)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:896)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:636)
    Last edited by sampietrog; 28th Jun 2011, 04:11.

    Leave a comment:


  • vijayakumar_kb
    replied
    Originally posted by Isomorphic
    There is a workaround, however, this was resolved for 8.0 and you should most likely be evaluating with that version. It's on the download page now.
    As of now version 8 is a beta version i can't use it. can you please tell me the workaround

    Leave a comment:


  • Isomorphic
    replied
    There is a workaround, however, this was resolved for 8.0 and you should most likely be evaluating with that version. It's on the download page now.

    Leave a comment:


  • export excel + java.lang.String cannot be cast to java.util.Map'

    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
Working...
X