DhtmlXConnector

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)

Hello,

you may enable logging to get details about the problem. Please see information about that here :

docs.dhtmlx.com/doku.php?id=dhtm … nd_logging

I am already enabled logging. But i am unable to see any errors in the log file. Infact i have one more question regarding dataprocessor debug console.
i have included latest dhtmlxdataprocessor_debug.js file in my jsp and i have included the below statement
dp.enableDebug(true);
but how do i can access a console ? Is there any specific url to open this window ? or how ?

Please help me. I am stuck here and not able to proceed further.

but how do i can access a console ? Is there any specific url to open this window ? or how ?
The “log window” will be rendered automatically during dataprocessor’s initialization. It possible that some other content on the page covers it. ( it has z-index:99999, so must be visible in most cases )

But i am unable to see any errors in the log file.
Can you provide the log record for problematic operation
It seems that connector can’t parse incoming data, which can be caused by some unexpected data|ID naming ( we didn’t see a similar problem locally )