Announcement

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

    Unable to view the loaded File or Image

    1. SmartGWTPower 2.3, IE 8/FirFox 3.6

    2. Log

    === 2010-08-23 19:00:08,539 [0-55] ERROR IDACall - Top-level servlet error:
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
    at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:697)
    at com.isomorphic.rpc.RPCManager.send(RPCManager.java:533)
    at com.isomorphic.rpc.RPCManager.sendFailure(RPCManager.java:616)
    at com.isomorphic.rpc.RPCManager.sendFailure(RPCManager.java:637)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:112)
    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.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)


    Able to upload any given file and the file name is displayed in the grid. When I tried to open the file I am getting the above error message. This error happens when I click the icon before the file name in the Listgrid.

    #2
    Post the complete server log for the request, don't trim it down to just the exception.

    Comment


      #3
      I am getting a log as below when the Grid is displayed.

      === 2010-08-23 19:21:03,714 [l0-4] DEBUG DataTools - Bean inspection: invocation of oracle.jdbc.driver.OracleBlobInputStream.isNull() while trying to obtain property 'null' threw an exception: java.lang.IllegalAccessException: Class com.isomorphic.util.DataTools can not access a member of class oracle.jdbc.driver.OracleBufferedStream with modifiers "public"
      at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.isomorphic.util.DataTools.getProperties(DataTools.java:2236)
      at com.isomorphic.util.DataTools.getProperties(DataTools.java:2201)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:605)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:506)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:497)
      at com.isomorphic.js.JSTranslater.convertMap(JSTranslater.java:930)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:568)
      at com.isomorphic.js.JSTranslater.convertIterator(JSTranslater.java:1069)
      at com.isomorphic.js.JSTranslater.convertCollection(JSTranslater.java:1022)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:570)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:506)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:497)
      at com.isomorphic.js.JSTranslater.convertMap(JSTranslater.java:930)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:568)
      at com.isomorphic.js.JSTranslater.convertIterator(JSTranslater.java:1069)
      at com.isomorphic.js.JSTranslater.convertCollection(JSTranslater.java:1022)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:570)
      at com.isomorphic.js.JSTranslater.convert(JSTranslater.java:506)
      at com.isomorphic.js.JSTranslater.toJS(JSTranslater.java:468)
      at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1074)
      at com.isomorphic.rpc.RPCManager.send(RPCManager.java:533)
      at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:106)
      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.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

      and When I click the icon in the grid I get the error which I posted initially.

      Comment


        #4
        Problem solved. Minor Issue in the datasource. the keyword primarykey was spelled incorrect as primaryey.

        Comment

        Working...
        X