mhotan / DineOn

Git Repository for our 403(13sp) Android application "DineOn"
0 stars 0 forks source link

NullPointerException when logging out of Restaurant app #259

Closed glee23 closed 11 years ago

glee23 commented 11 years ago

Severity: Major

Repo Steps:

  1. Login to the restaurant app.
  2. Logout.

Partial Log:

Date Format failed to parse date string: Saturday, May 25, 2013 10:06:20 PM Pacific Daylight Time Date Format failed to parse date string: Saturday, May 25, 2013 10:06:40 PM Pacific Daylight Time

FATAL EXCEPTION: main java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1320) at java.text.SimpleDateFormat.formatImpl(SimpleDateFormat.java:533) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:818) at java.text.DateFormat.format(DateFormat.java:372) at uw.cse.dineon.library.TimeableStorable.packObject(TimeableStorable.java:99) at uw.cse.dineon.library.image.DineOnImage.packObject(DineOnImage.java:76) at uw.cse.dineon.library.util.ParseUtil.toListOfParseObjects(ParseUtil.java:459) at uw.cse.dineon.library.RestaurantInfo.packObject(RestaurantInfo.java:93) at uw.cse.dineon.library.Restaurant.packObject(Restaurant.java:122) at uw.cse.dineon.library.Storable.saveEventually(Storable.java:123)

Resolution: Fixed with commit 1345273

mhotan commented 11 years ago

Attempted to fix it in latest pull request. Go ahead and try it out