Uploaded image for project: 'System Administration'
  1. System Administration
  2. SAD-45

Error when download concepts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • TBD
    • Resolution: Won't Fix
    • None
    • None
    • Undetermined

    Description

      When I go to settings page, a warning appears saying that I should download concepts, but then I try to download them and the app crashes:

       

      I’m getting the errors in my device (API level 27) and in a virtual device (Pixel 2 API 28). I also get the errors when connecting to the demo server and my own server (Standalone 2.9.0).

      This is the Logcat output for the download concepts error:

      ```
      2019-10-21 18:23:38.390 22438-22438/org.openmrs.mobile E/AndroidRuntime: FATAL EXCEPTION: main
      Process: org.openmrs.mobile, PID: 22438
      android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x42 color=0x00000000 number=0 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1916)
      at android.os.Handler.dispatchMessage(Handler.java:106)
      at android.os.Looper.loop(Looper.java:164)
      at android.app.ActivityThread.main(ActivityThread.java:7025)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
      ```

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              jamessmith James Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: