java.lang.reflect.InvocationTargetException

GitHub | israelidanny | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    Attempt to invoke interface method 'com.couchbase.lite.Mapper com.couchbase.lite.ViewCompiler.compileMap(java.lang.String, java.lang.String)' on a null object reference

    at com.couchbase.lite.router.Router.compileView()
  2. com.couchbase.lite
    Router.do_POST_DesignDocument
    1. com.couchbase.lite.router.Router.compileView(Router.java:2338)
    2. com.couchbase.lite.router.Router.queryDesignDoc(Router.java:2380)
    3. com.couchbase.lite.router.Router.do_POST_DesignDocument(Router.java:2443)
    3 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  4. com.couchbase.lite
    LiteServlet.service
    1. com.couchbase.lite.router.Router.start(Router.java:570)
    2. com.couchbase.lite.listener.LiteServlet.service(LiteServlet.java:141)
    2 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  6. Embedded Servlet Container
    Utils$ThreadPool$PooledThread.run
    1. Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2251)
    2. Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2176)
    3. Acme.Serve.Serve$ServeConnection.run(Serve.java:1988)
    4. Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223)
    4 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame