nlight-jdev / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

Cannot set property reason on class org.jcouchdb.document.DocumentInfo #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am running CouchDB from trunk (0.10.0a781700) and jcouchdb from trunk 
(r126). When using bulkCreateDocuments I get the following exception when 
there is a problem with the documents I am creating:

org.svenson.JSONParseException: Cannot set property reason on class 
org.jcouchdb.document.DocumentInfo
    at org.svenson.JSONParser.parseObjectInto(JSONParser.java:441)
    at org.svenson.JSONParser.parseArrayInto(JSONParser.java:367)
    at org.svenson.JSONParser.parse(JSONParser.java:279)
    at org.svenson.JSONParser.parse(JSONParser.java:256)
    at org.jcouchdb.db.Response.getContentAsBean(Response.java:140)
    at org.jcouchdb.db.Database.bulkCreateDocuments(Database.java:330)

I guess this is related to the changes in the CouchDB bulk document API 
which are not reflected by jcouchdb.

Original issue reported on code.google.com by daniel.s...@googlemail.com on 4 Jun 2009 at 12:04

GoogleCodeExporter commented 8 years ago
Fixed in trunk. Will be in next release.

Original comment by ff...@gmx.de on 5 Jun 2009 at 7:07

GoogleCodeExporter commented 8 years ago

Original comment by ff...@gmx.de on 5 Jun 2009 at 7:08