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:
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"}
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.
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
The build described above was done in Ubuntu 18.04
Attempts to build and compile on MacOS do not proceed past cd nunaliit2 && mvn clean install as they fail with the following error:
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 35.194 s [INFO] Finished at: 2020-11-09T11:13:57+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.2:generate (default) on project nunaliit2-gpx-jaxb: Execution default of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.2:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.2:generate: javax/xml/bind/JAXBException
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:
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"}
Other details
cd nunaliit2 && mvn clean install
as they fail with the following error:[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 35.194 s [INFO] Finished at: 2020-11-09T11:13:57+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.2:generate (default) on project nunaliit2-gpx-jaxb: Execution default of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.2:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.2:generate: javax/xml/bind/JAXBException
Is there anything I am missing ? 🙂