widerules / quranquiz

Automatically exported from code.google.com/p/quranquiz
0 stars 0 forks source link

Date parse cause crashes #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.RuntimeException: Unable to start activity 
ComponentInfo{net.quranquiz/net.quranquiz.QQLastScreenActivity}: 
java.lang.IllegalArgumentException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException
at java.util.Date.parse(Date.java:465)
at net.quranquiz.QQScoreRecord.isOlderThan1Day(QQScoreRecord.java:60)
at net.quranquiz.QQProfile.updateScoreRecord(QQProfile.java:205)
at net.quranquiz.QQLastScreenActivity.onCreate(QQLastScreenActivity.java:79)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
... 11 more

Original issue reported on code.google.com by tarekeldeeb on 20 May 2013 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by tarekeldeeb on 28 Aug 2013 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by tarekeldeeb on 28 Aug 2013 at 3:32