Import fails with following exception


> com.google.gson.JsonSyntaxException: 2016-06-16T04:39:11+0000
>         at
> com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:81)
>         at
> com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:66)
>         at
> com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:41)
>         at
> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
>         at
> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
>         at
> com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
>         at
> com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
>         at
> com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
>         at
> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
>         at
> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
>         at com.google.gson.Gson.fromJson(Gson.java:791)
>         at
> org.apache.zeppelin.notebook.Notebook.importNote(Notebook.java:199)
>         at
> org.apache.zeppelin.socket.NotebookServer.importNote(NotebookServer.java:650)
> Caused by: java.text.ParseException: Unparseable date:
> "2016-06-16T04:39:11+0000"
>         at java.text.DateFormat.parse(DateFormat.java:366)
>         at
> com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:79)
>
>
It seems date format is the cause.

Dates in exported json from release version are like "Apr 19, 2016 12:04:58
PM",
but dates in exported json from snapshot version are like
"2016-06-15T14:39:04+0000".

I found a similar issue ( https://issues.apache.org/jira/browse/ZEPPELIN-905
) and PR ( https://github.com/apache/zeppelin/pull/933 ),
but it seems its focus is different.


PS)
I try to open an issue for this problem, but I cannot find an issue
creation button. Is it a problem of Apache JIRA or me?

Reply via email to