Steven Romero
unread,Feb 4, 2013, 2:20:52 PM2/4/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to light...@googlegroups.com
Hi, I am getting the following error below, I am not sure what may be causing it, I have configured the couchdb properties file correctly, please let me know what may be causing this error.
Feb 04, 2013 2:04:59 PM org.lightcouch.CouchDbClientBase$2 process
INFO: >> HEAD /med_cloud HTTP/1.1
Exception in thread "main" java.lang.IllegalArgumentException: HTTP entity may not be null
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:198)
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:264)
at org.lightcouch.CouchDbClientBase.validate(CouchDbClientBase.java:374)
at org.lightcouch.CouchDbClientBase.access$0(CouchDbClientBase.java:358)
at org.lightcouch.CouchDbClientBase$3.process(CouchDbClientBase.java:342)
at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:117)
at org.apache.http.protocol.HttpRequestExecutor.postProcess(HttpRequestExecutor.java:345)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:525)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.lightcouch.CouchDbClientBase.executeRequest(CouchDbClientBase.java:260)
at org.lightcouch.CouchDbClientBase.head(CouchDbClientBase.java:179)
at org.lightcouch.CouchDbContext.createDB(CouchDbContext.java:79)
at org.lightcouch.CouchDbContext.<init>(CouchDbContext.java:51)
at org.lightcouch.CouchDbClient.<init>(CouchDbClient.java:131)
at com.med.cloud.dao.PatientDAO.<init>(PatientDAO.java:11)
at com.med.cloud.test.TestCouchDB.main(TestCouchDB.java:25)