Skip to content

Couchdb 2.3 changed the purge_seq field in the DbInfo response to be a string. This now throws java.lang.NumberFormatException #73

@simon-temple

Description

@simon-temple

Maybe need to add purge_seq getter on DbInfo class that returns seq as String

Here's the stack trace:

jvm 1 | com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: For input string: "0-g1AAAABXeJzLYWBgYMpgTmEQTM4vTc5ISXLIyU9OzMnILy7JAUnlsQBJhgYg9R8IshIZ8KhNZEiqhyjKAgBm5Rxs"
jvm 1 | at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:306)
jvm 1 | at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:296)
jvm 1 | at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
jvm 1 | at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
jvm 1 | at com.google.gson.Gson.fromJson(Gson.java:927)
jvm 1 | at com.google.gson.Gson.fromJson(Gson.java:865)
jvm 1 | at org.lightcouch.CouchDbClientBase.get(CouchDbClientBase.java:553)
jvm 1 | at org.lightcouch.CouchDbContext.info(CouchDbContext.java:113)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions