ganeshkondal/appt-mgr-jar — Issue #2: Nullpointer exception - 555 13 Feb13 - input
Author: ganeshkondal
Created: 2012-02-01 04:18:38+00:00
State: open

Error Code:DATE_CROSS_ADV_BOOKING_LIMIT
responses bookAppointment: BookAppointmentSMSResponse [appointmentTime=null]SMSResponse [doctorName=null, tokenNumber=0, apptDate=2012-02-13, consultationLocation=null, phoneNumber=null, patientNameInSMS=null, errorMessage=DATE_CROSS_ADV_BOOKING_LIMIT]

==> localhost.2012-02-01.log <==
1 Feb, 2012 9:46:55 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet apptmgrservlet threw exception
java.lang.NullPointerException
at com.freshstart.data.SMSResponse.getDoctorName(SMSResponse.java:51)
at com.freshstart.service.AppointmentManager.bookAppointment(AppointmentManager.java:294)
at com.freshstart.service.AppointmentManager.bookAppointment(AppointmentManager.java:373)
at com.freshstart.handler.IncomingSMSHandler.handleBookAppt(IncomingSMSHandler.java:301)
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)