You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to print all Active Tasks, I receive this error:
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "node" (class org.ektorp.impl.StdReplicationTask), not marked as ignorable (17 known properties: "doc_id", "pid", "continuous", "target", "docs_written", "checkpointed_source_seq", "docs_read", "source", "checkpoint_interval", "started_on", "revisions_checked", "missing_revisions_found", "updated_on", "progress", "replication_id", "doc_write_failures", "source_seq"])
at [Source: org.ektorp.http.StdHttpResponse$ConnectionReleasingInputStream@6a1d406e; line: 1, column: 1425] (through reference chain: java.util.ArrayList[0]->org.ektorp.impl.StdReplicationTask["node"])
I figure since it can't find the node field, I will just supply my own ObjectMapper to the CouchDbInstance, which then leads me to this error:
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.lang.Long from String value 'replication': not a valid Long value
at [Source: org.ektorp.http.StdHttpResponse$ConnectionReleasingInputStream@2d6d28e2; line: 1, column: 793] (through reference chain: java.util.ArrayList[0]->org.ektorp.impl.StdReplicationTask["checkpointed_source_seq"])
It seems that in CouchDB 2.0 they changed the checkpointed_source_seq to a String, with the number and the revision.
The text was updated successfully, but these errors were encountered:
I attempted a fix for my own personal use and it still did not work.
I added the node field in the ActiveTask interface, along with the accompanying StdActiveTask implementation. I also changed the checked_source_seq from long to String and those accompanying implementations as well.
When I packaged it and included it in my project I still got those same errors, even though I checked to make sure that it was referencing the correct updated files.
When attempting to print all Active Tasks, I receive this error:
I figure since it can't find the
node
field, I will just supply my ownObjectMapper
to theCouchDbInstance
, which then leads me to this error:It seems that in CouchDB 2.0 they changed the
checkpointed_source_seq
to aString
, with the number and the revision.The text was updated successfully, but these errors were encountered: