You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Sang-Min Yoon <si...@gmail.com> on 2016/06/17 08:09:59 UTC
Cannot import a note
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?
Re: Cannot import a note
Posted by Sang-Min Yoon <si...@gmail.com>.
Ah.. I clicked the right arrow button, and it shows 'Create Service Desk
Request' :(
I will create an issue for this problem.
2016-06-17 17:16 GMT+09:00 Ahyoung Ryu <ah...@gmail.com>:
> Hi Sang-Min,
>
> Regarding JIRA issue creation button, did you login with your account?
> Once you login to JIRA, then you can easily find *Create *red button at
> the middle of top.
>
> Thanks,
> Ahyoung
>
> 2016년 6월 17일 (금) 오전 1:10, Sang-Min Yoon <si...@gmail.com>님이 작성:
>
>> 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?
>>
>
Re: Cannot import a note
Posted by Ahyoung Ryu <ah...@gmail.com>.
Hi Sang-Min,
Regarding JIRA issue creation button, did you login with your account?
Once you login to JIRA, then you can easily find *Create *red button at the
middle of top.
Thanks,
Ahyoung
2016년 6월 17일 (금) 오전 1:10, Sang-Min Yoon <si...@gmail.com>님이 작성:
> 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?
>