Hi,
i think you’re using Grid connector for gantt, which is not supposed to work (as a rule there is a connector for each component),
Please try using JSONGanttConnector instead viewtopic.php?f=15&t=32995 github.com/DHTMLX/connector-java
Thank you, I changed it to JSONGanttConnector and now I am getting a nullpointer exception. The request is reaching the database and the problem seems to be from the render method. Any tips?
SEVERE: Servlet.service() for servlet dhtmlx threw exception
java.lang.NullPointerException
at calendar.dhtmlx.connector2.JSONGanttConnector.render(JSONGanttConnector.java:190)
at calendar.dhtmlx.connector2.BaseConnector.render_table(BaseConnector.java:330)
at calendar.dhtmlx.connector2.BaseConnector.render_table(BaseConnector.java:295)
at calendar.BasicConnector.configure(BasicConnector.java:41)
at calendar.dhtmlx.connector.ConnectorServlet.doGet(ConnectorServlet.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
I fixed the nullpointer. I was referencing some wrong files. The data is returned from the server but for some strange reason is in the wrong order. Start_date is given the value of text and so on. And duration is not even returned at all. What could be causing this?