Hi, I filed an issue<https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin/issues/19> . I don't know if it comes from the phonegap plugin as well. As written on the issue, I am currently using cordova 3.3.
Bart Le vendredi 16 mai 2014 21:15:03 UTC+1, J. Chris Anderson a écrit : > > Please file an issue on Github. > > I didn't see this in my quick test but I only used a Nexus 7. > > There will be an updated PhoneGap plugin by early next week, I'll update > this thread when I push it. > > Chris > > On Thursday, May 15, 2014 6:17:54 AM UTC-7, Bart Arribe wrote: >> >> Hi all, >> >> Congrats, it's a fine work :) >> >> Just a thing, I've just tried this new version of the plugin on the >> todo-Lite example. It seems there is a bug now with the views when I try to >> do a GET to display the list of todo lists as you can see in the logs on >> logcat below. >> >> >> 05-15 13:57:52.790: W/View(6146): Failed to rebuild view todo9/lists. >> Result code: 500 >> 05-15 13:57:52.790: E/Router(6146): Router unable to route request to >> do_GET_DesignDocument >> 05-15 13:57:52.790: E/Router(6146): >> java.lang.reflect.InvocationTargetException >> 05-15 13:57:52.790: E/Router(6146): at >> java.lang.reflect.Method.invokeNative(Native Method) >> 05-15 13:57:52.790: E/Router(6146): at >> java.lang.reflect.Method.invoke(Method.java:515) >> 05-15 13:57:52.790: E/Router(6146): at >> com.couchbase.lite.router.Router.start(Router.java:464) >> 05-15 13:57:52.790: E/Router(6146): at >> com.couchbase.lite.listener.LiteServlet.service(LiteServlet.java:128) >> 05-15 13:57:52.790: E/Router(6146): at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> 05-15 13:57:52.790: E/Router(6146): at >> Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2251) >> 05-15 13:57:52.790: E/Router(6146): at >> Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2176) >> 05-15 13:57:52.790: E/Router(6146): at >> Acme.Serve.Serve$ServeConnection.run(Serve.java:1988) >> 05-15 13:57:52.790: E/Router(6146): at >> Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223) >> 05-15 13:57:52.790: E/Router(6146): at >> java.lang.Thread.run(Thread.java:841) >> 05-15 13:57:52.790: E/Router(6146): Caused by: >> android.database.CursorIndexOutOfBoundsException: Index 1 requested, with a >> size of 1 >> 05-15 13:57:52.790: E/Router(6146): at >> android.database.AbstractCursor.checkPosition(AbstractCursor.java:426) >> 05-15 13:57:52.790: E/Router(6146): at >> android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136) >> 05-15 13:57:52.790: E/Router(6146): at >> android.database.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:74) >> 05-15 13:57:52.790: E/Router(6146): at >> com.couchbase.lite.android.AndroidSQLiteStorageEngine$SQLiteCursorWrapper.getLong(AndroidSQLiteStorageEngine.java:189) >> 05-15 13:57:52.790: E/Router(6146): at >> com.couchbase.lite.View.updateIndex(View.java:471) >> 05-15 13:57:52.790: E/Router(6146): at >> com.couchbase.lite.router.Router.queryDesignDoc(Router.java:1683) >> 05-15 13:57:52.790: E/Router(6146): at >> com.couchbase.lite.router.Router.do_GET_DesignDocument(Router.java:1714) >> 05-15 13:57:52.790: E/Router(6146): ... 10 more >> >> Do you have the same error than me? >> How would you solve it? >> Do I need to file an issue on Github? >> >> Regards >> Bart >> >> Le jeudi 8 mai 2014 14:57:56 UTC+1, Sjoerd a écrit : >>> >>> Congrats, seems like a major step forward! >>> >>> I'm looking forward to start supporting Android for my app, thanks for >>> making that possible. Till now the absence of an official phonegap build >>> for Android made me wait. Awesome! >>> >>> Sjoerd / ssured >>> >> -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/98045424-cc25-4b7f-99db-904ce63c75dc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
