SmartGWT Power 2.5-NIGHTLY-2011-07-27
It looks like when I try to use RestHandler to access a datasource with CLOB data, I'm greeted with the following:
It looks like when I try to use RestHandler to access a datasource with CLOB data, I'm greeted with the following:
Code:
=== 2011-08-10 17:20:03,988 [l0-4] ERROR RESTHandler - Error executing operation: CandidateProfile_update java.lang.ClassCastException: oracle.jdbc.driver.OracleClobReader cannot be cast to java.util.Map at com.isomorphic.xml.XML.recordToXML(XML.java:1010) at com.isomorphic.xml.XML.recordToXML(XML.java:913) at com.isomorphic.xml.XML.recordToXML(XML.java:907) at com.isomorphic.xml.XML.recordsToXML(XML.java:1028) at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1148) at com.isomorphic.rpc.RPCManager.send(RPCManager.java:582) at com.isomorphic.servlet.RESTHandler.processRequest(RESTHandler.java:217) at com.isomorphic.servlet.RESTHandler.doPost(RESTHandler.java:165) 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) === 2011-08-10 17:20:03,999 [l0-4] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8 === 2011-08-10 17:20:04,004 [l0-4] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2011-08-10 17:20:04,005 [l0-4] ERROR RESTHandler - Top-level servlet error: java.lang.NullPointerException at com.isomorphic.xml.XML.recordToXML(XML.java:949) at com.isomorphic.xml.XML.recordToXML(XML.java:913) at com.isomorphic.xml.XML.recordToXML(XML.java:907) at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1152) 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.RESTHandler.processRequest(RESTHandler.java:223) at com.isomorphic.servlet.RESTHandler.doPost(RESTHandler.java:165) 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)
Comment