Skip to content

Error establishing connection after successful build on Ubuntu 18.04 #71

@michaelchamu

Description

@michaelchamu

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

  • 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

Is there anything I am missing ? 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions