Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41680

Android: Possible null pointer exception in getExtractedText()

    XMLWordPrintable

Details

    • Android
    • 7755b4af417e6b6da3dac0617eb2ce3a37b9a53c

    Description

      In QtInputConnection.getExtractedText we call a native method which might return null and never check the result before using it. This leads to the following error message (reported as one of the most common crashes in some apps):

      org.qtproject.qt5.android.QtInputConnection.getExtractedText: NullPointerException in QtInputConnection.java, line 178
      

      We currently don't know how to reproduce this, but we should put a null pointer check in that code anyway.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tvete Paul Olav Tvete
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes