Skip to content

Instantly share code, notes, and snippets.

@william8th
Created February 4, 2016 12:11
Show Gist options
  • Save william8th/62b8f48cb080728a58e5 to your computer and use it in GitHub Desktop.
Save william8th/62b8f48cb080728a58e5 to your computer and use it in GitHub Desktop.
Date deserializer crash log for Outlook-SDK-Android
02-04 06:43:30.664 9206-12182/com.bjss.williamheng.office365poc W/System.err: com.google.gson.JsonSyntaxException: 2016-04-08
02-04 06:43:30.664 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:81)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:66)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:41)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.Gson.fromJson(Gson.java:810)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.Gson.fromJson(Gson.java:875)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.Gson.fromJson(Gson.java:848)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.microsoft.services.orc.serialization.impl.GsonSerializerBase.deserializeList(GsonSerializerBase.java:191)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.microsoft.services.orc.core.Helpers$3.apply(Helpers.java:316)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.microsoft.services.orc.core.Helpers$3.apply(Helpers.java:309)
02-04 06:43:30.674 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:906)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.Futures$ChainingListenableFuture$1.run(Futures.java:918)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:914)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.microsoft.services.orc.core.BaseOrcContainer$1.onSuccess(BaseOrcContainer.java:148)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.microsoft.services.orc.core.BaseOrcContainer$1.onSuccess(BaseOrcContainer.java:107)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.microsoft.services.orc.http.impl.OkHttpNetworkRunnable.run(OkHttpNetworkRunnable.java:78)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at java.lang.Thread.run(Thread.java:841)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: Caused by: java.text.ParseException: Unparseable date: "2016-04-08" (at offset 10)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at java.text.DateFormat.parse(DateFormat.java:555)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: at com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:79)
02-04 06:43:30.684 9206-12182/com.bjss.williamheng.office365poc W/System.err: ... 40 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment