nlight-jdev / jcouchdb

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

bulkCreateDocument and error #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I try to create documents using buklCreateDocuments.
If an error occurs, I get that stack trace:

org.svenson.JSONParseException: Cannot set property error on class 
java.util.ArrayList
    at org.svenson.JSONParser.parseObjectInto(JSONParser.java:583)
    at org.svenson.JSONParser.parse(JSONParser.java:396)
    at org.svenson.JSONParser.parse(JSONParser.java:372)
    at org.jcouchdb.db.Response.getContentAsBean(Response.java:158)
    at org.jcouchdb.db.Database.bulkCreateDocuments(Database.java:423)
    at org.jcouchdb.db.Database.bulkCreateDocuments(Database.java:357)

I think there should be thrown another method instead of trying to write the 
error to the ArrayList....

Original issue reported on code.google.com by js.cedar...@gmail.com on 9 Sep 2010 at 2:36

GoogleCodeExporter commented 8 years ago
I could not reproduce the exception in question. Do you use a more recent 
jcouchdb version against an older CouchDB version?

Original comment by ff...@gmx.de on 11 Sep 2010 at 9:10