I downloaded dhtmlx.com/x/download/regular/sc … f-java.zip and dropped the war file on Tomcat. I can save the daily and weekly views. When trying to save the monthly view an exception is thrown on the servlet (see below). I’m sending the view like this: scheduler.toPDF(‘scheduler-pdf/generate’, ‘gray’);
Any ideas?
Nov 11, 2013 12:12:26 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: java.lang.ArrayIndexOutOfBoundsException: 7
at com.dhtmlx.scheduler.PDFWriter.monthEventsDraw(PDFWriter.java:449)
at com.dhtmlx.scheduler.PDFWriter.printMonth(PDFWriter.java:144)
at com.dhtmlx.scheduler.PDFWriter.generate(PDFWriter.java:96)
at PDFGenerator.doPost(PDFGenerator.java:17)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1686)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)