ganeshkondal/appt-mgr-jar — Issue #1: Server 500 error on certain inputs
Author: ganeshkondal
Created: 2012-01-31 03:23:03+00:00
State: open

Input Request:
http://www.neroor.com/appt-mgr-servlet/apptmgr?phone=+919500044266&binary=101+31/01+SaiDyuthi&smsc=$i&time=2012-01-31 03:10:12

Server error seen in tomcat logs

java.lang.ArrayIndexOutOfBoundsException: 2
at com.freshstart.handler.IncomingSMSHandler.parseDateToken(IncomingSMSHandler.java:541)
at com.freshstart.handler.IncomingSMSHandler.handleBookAppt(IncomingSMSHandler.java:262)
at com.freshstart.handler.IncomingSMSHandler.processSMS(IncomingSMSHandler.java:130)
at com.freshstart.servlet.SMSControllerServlet.doGet(SMSControllerServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)