{"action":"closed","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/495","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/495/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/495/events","html_url":"https://github.com/couchbase/couchbase-lite-java-core/issues/495","id":61979231,"number":495,"title":"Pull get 404 error,if delete the local cblite db file,it will never pull success again.","user":{"login":"79144876","id":1910405,"avatar_url":"https://avatars.githubusercontent.com/u/1910405?v=3","gravatar_id":"","url":"https://api.github.com/users/79144876","html_url":"https://github.com/79144876","followers_url":"https://api.github.com/users/79144876/followers","following_url":"https://api.github.com/users/79144876/following{/other_user}","gists_url":"https://api.github.com/users/79144876/gists{/gist_id}","starred_url":"https://api.github.com/users/79144876/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/79144876/subscriptions","organizations_url":"https://api.github.com/users/79144876/orgs","repos_url":"https://api.github.com/users/79144876/repos","events_url":"https://api.github.com/users/79144876/events{/privacy}","received_events_url":"https://api.github.com/users/79144876/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/labels/review","name":"review","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-16T05:45:18Z","updated_at":"2015-04-08T00:55:17Z","closed_at":"2015-04-08T00:55:17Z","body":"I have same problem on android,pull error  when i delete the local file(may be some user lost sdcard). i do not know how to fix it? (https://github.com/couchbase/couchbase-lite-ios/issues/522)\r\n1.create some documents,(couch.cblite save on my sdcard),and it will auto sync to server.\r\n2.uninstall the app and delete the local cblite file.\r\n3.install app,and login ,and then it can not pull again,i found this error:\r\n```\r\n03-16 13:23:49.490  29769-29831/com.eusoft.recite.en E/Sync﹕ com.couchbase.lite.replicator.ReplicationInternal$4@42eca958 checkSessionAtPath() response: {authentication_handlers=[default, cookie], ok=true, userCtx={channels={0f0665e1-a0fa-4c57-ab00-b4a2bd4cf7d9=9151}, name=0f0665e1-a0fa-4c57-ab00-b4a2bd4cf7d9}}\r\n03-16 13:23:49.500  29769-29832/com.eusoft.recite.en E/Sync﹕ com.couchbase.lite.replicator.ReplicationInternal$4@433b8b08 checkSessionAtPath() response: {authentication_handlers=[default, cookie], ok=true, userCtx={channels={0f0665e1-a0fa-4c57-ab00-b4a2bd4cf7d9=9151}, name=0f0665e1-a0fa-4c57-ab00-b4a2bd4cf7d9}}\r\n03-16 13:23:49.540  29769-29832/com.eusoft.recite.en E/RemoteRequest﹕ Got error status: 404 for http://sync.gateway.frdic.com/admin/reciteen/_local/1d07b7b2b345537243d86ed7b43f4d45f9176379.  Reason: Not Found\r\n03-16 13:25:49.530  29769-29860/com.eusoft.recite.en E/ChangeTracker﹕ com.couchbase.lite.replicator.ChangeTracker@43682e08: Exception in change tracker\r\n    org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n            at [Source: org.apache.http.conn.EofSensorInputStream@42f2a348; line: 1, column: 2]\r\n            at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedValue(Utf8StreamParser.java:2084)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._nextTokenNotInObject(Utf8StreamParser.java:600)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:486)\r\n            at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)\r\n            at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)\r\n            at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)\r\n            at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:331)\r\n            at java.lang.Thread.run(Thread.java:841)\r\n03-16 13:27:49.460  29769-29860/com.eusoft.recite.en E/ChangeTracker﹕ com.couchbase.lite.replicator.ChangeTracker@43682e08: Exception in change tracker\r\n    org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n            at [Source: org.apache.http.conn.EofSensorInputStream@42f1d128; line: 1, column: 2]\r\n            at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedValue(Utf8StreamParser.java:2084)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._nextTokenNotInObject(Utf8StreamParser.java:600)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:486)\r\n            at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)\r\n            at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)\r\n            at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)\r\n            at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:331)\r\n            at java.lang.Thread.run(Thread.java:841)\r\n03-16 13:29:50.500  29769-29860/com.eusoft.recite.en E/ChangeTracker﹕ com.couchbase.lite.replicator.ChangeTracker@43682e08: Exception in change tracker\r\n    org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n            at [Source: org.apache.http.conn.EofSensorInputStream@43153d80; line: 1, column: 2]\r\n            at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedValue(Utf8StreamParser.java:2084)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._nextTokenNotInObject(Utf8StreamParser.java:600)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:486)\r\n            at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)\r\n            at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)\r\n            at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)\r\n            at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:331)\r\n            at java.lang.Thread.run(Thread.java:841)\r\n03-16 13:31:50.520  29769-29860/com.eusoft.recite.en E/ChangeTracker﹕ com.couchbase.lite.replicator.ChangeTracker@43682e08: Exception in change tracker\r\n    org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n            at [Source: org.apache.http.conn.EofSensorInputStream@4311f700; line: 1, column: 2]\r\n            at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedValue(Utf8StreamParser.java:2084)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._nextTokenNotInObject(Utf8StreamParser.java:600)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:486)\r\n            at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)\r\n            at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)\r\n            at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)\r\n            at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:331)\r\n            at java.lang.Thread.run(Thread.java:841)\r\n03-16 13:33:51.540  29769-29860/com.eusoft.recite.en E/ChangeTracker﹕ com.couchbase.lite.replicator.ChangeTracker@43682e08: Exception in change tracker\r\n    org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n            at [Source: org.apache.http.conn.EofSensorInputStream@430f4128; line: 1, column: 2]\r\n            at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)\r\n            at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedValue(Utf8StreamParser.java:2084)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser._nextTokenNotInObject(Utf8StreamParser.java:600)\r\n            at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:486)\r\n            at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)\r\n            at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)\r\n            at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)\r\n            at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:331)\r\n            at java.lang.Thread.run(Thread.java:841)\r\n\r\n```"}}