Hi,
I want to load grid using a render_sql for where clause query.For loading it is working fine but the update functionality is throwing null pointer exception. if i use render_table both select and update are working perfect. but render_table i can’t put a query.
could you please do the needful. The exception is as below.
SEVERE: Servlet.service() for servlet ConnectorServlet threw exception
java.lang.NullPointerException
at com.dhtmlx.connector.DataProcessor.get_post_values(DataProcessor.java:75)
at com.dhtmlx.connector.DataProcessor.process(DataProcessor.java:104)
at com.dhtmlx.connector.BaseConnector.render(BaseConnector.java:292)
at com.dhtmlx.connector.BaseConnector.render_sql(BaseConnector.java:262)
at com.dhtmlx.connector.BaseConnector.render_sql(BaseConnector.java:230)
at com.db.gm.sales.cdgs.web.connectorServlets.Grid_01_BasicConnector.configure(Grid_01_BasicConnector.java:55)
at com.dhtmlx.connector.ConnectorServlet.doGet(ConnectorServlet.java:28)
at com.dhtmlx.connector.ConnectorServlet.doPost(ConnectorServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)