GCRC / nunaliit_android

Android application for Nunaliit
MIT License
1 stars 1 forks source link

Error establishing connection after successful build on Ubuntu 18.04 #71

Open michaelchamu opened 3 years ago

michaelchamu commented 3 years ago

Hallo. I have cloned the project and correctly followed the steps to build it. I can also manage to execute it in Android Studio and run it on a connected device or emulator. However, I am experiencing the following problems:

  1. When I create a connection, I have observed that it successfully establishes contact with the server and also authenticates correctly, despite this, it issues an error which I tracked and pasted below

java.lang.RuntimeException: Creating new database document failed: {"stack":"ca.carleton.gcrc.couch.submission.SubmissionServletActions.getSubmissionInfoByDeviceId(SubmissionServletActions.java:187)","cause":{"stack":"ca.carleton.gcrc.couch.submission.SubmissionServletActions.getSubmissionInfoByDeviceId(SubmissionServletActions.java:183)","error":"java.lang.NullPointerException"},"error":"Error while accessing submission info by device id view"}

  1. Thereafter, checks indicate the connection was created successfully and I can access this connection but I am unable to do anything as there is no map shown.
  2. The buttons at the top of the screen do not work as well. I can sync documents from my server but cannot add new documents using the + icon.

Other details

Is there anything I am missing ? 🙂