org.ektorp.DocumentNotFoundException: nothing found on db path: /twitterdata/_design/TwitterDataDocument/_view/by_publishDate?key=%222012%2F05%2F02%22&include_docs=true, Response body: {"error":"not_found","reason":"missing"}

Stack Overflow | OsomA | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Ektorp CouchDB document design and view are not created

    Stack Overflow | 6 months ago | OsomA
    org.ektorp.DocumentNotFoundException: nothing found on db path: /twitterdata/_design/TwitterDataDocument/_view/by_publishDate?key=%222012%2F05%2F02%22&include_docs=true, Response body: {"error":"not_found","reason":"missing"}

    Root Cause Analysis

    1. org.ektorp.DocumentNotFoundException

      nothing found on db path: /twitterdata/_design/TwitterDataDocument/_view/by_publishDate?key=%222012%2F05%2F02%22&include_docs=true, Response body: {"error":"not_found","reason":"missing"}

      at org.ektorp.http.StdResponseHandler.createDbAccessException()
    2. Ektorp
      CouchDbRepositorySupport.queryView
      1. org.ektorp.http.StdResponseHandler.createDbAccessException(StdResponseHandler.java:34)
      2. org.ektorp.http.StdResponseHandler.error(StdResponseHandler.java:62)
      3. org.ektorp.http.RestTemplate.handleResponse(RestTemplate.java:107)
      4. org.ektorp.http.RestTemplate.getUncached(RestTemplate.java:27)
      5. org.ektorp.impl.StdCouchDbConnector.executeQuery(StdCouchDbConnector.java:410)
      6. org.ektorp.impl.StdCouchDbConnector.queryView(StdCouchDbConnector.java:404)
      7. org.ektorp.support.CouchDbRepositorySupport.queryView(CouchDbRepositorySupport.java:184)
      7 frames
    3. couchdb
      Handler.test
      1. couchdb.TwitterDataDocumentRepository.findByPublishDate(TwitterDataDocumentRepository.java:26)
      2. couchdb.Handler.test(Handler.java:349)
      2 frames
    4. Unknown
      Main.main
      1. Main.main(Main.java:122)
      1 frame