judell / thali_issues

0 stars 0 forks source link

Router unable to route request to do_DELETE_Database java.lang.reflect.InvocationTargetException #45

Open judell opened 10 years ago

judell commented 10 years ago

Running Production/Utilities/DotNetUtilities/DotNetUtilities/ChromeExtension/test.html on the Java TDH I observe this in the Chrome console:

judell commented 10 years ago

So what's happening is that 'something' went wrong inside of CouchBase which causes it to produce a non-specific error with a bad error code. Seehere. Were you running the PouchDB test file I put in? If so that would explain the problem. As I mentioned in mylast weekly status (and as you referenced above) there appears to be a problem with deleting a database that has active replications against it. I was going to debug that yesterday but I got sucked into setting up my new laptop. Well it's set up so I can now investigate!Please let me know though if you were running the test script.

judell commented 10 years ago

Yes, that was coming from the test script. But please see my current adventure unfolding here:http://thali.cloudapp.net/mediawiki/index.php?title=Application_Development_in_Thali

judell commented 10 years ago

So the delete problem has at least two parts. One is https://github.com/couchbase/couchbase-lite-java-core/issues/134. The other I'm still investigating.The 409 problem is because of PouchDB. The specific problem is https://github.com/couchbase/couchbase-lite-java-core/issues/75. For now I work around it by doing some fairly nasty mapping inside of the web bridge. This screws up the errors you see.

judell commented 10 years ago

Delete issue: OK, I am working around that for now.Errors: Good to know. As I work through porting some initial apps to Thali, and document the process athttp://thali.cloudapp.net/mediawiki/index.php?title=Application_Development_in_Thali, I'll be comparing Pouch/IndexedDB to Pouch/Thali and noting discrepancies.