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

Media Player example crashes after launch on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.7.0
    • Examples and Demos
    • None
    • Android

      MacOS 14.1

      Qt Creator 12.0.0-rc1 (11.0.84)

      Device: Samsung Galaxy S22 13.0

      Steps to reproduce:

      1. Open the new Media Player Example app.
      2. Run it on Android device
      3. Wait few seconds

       

      Expected: The app does not crash. 

      Actual: The app crashes after launch.

      Reproducibility:  100% 

       

      E MediaHTTPConnection: java.lang.NullPointerException: Attempt to invoke virtual method 'java.net.URLConnection java.net.URL.openConnection()' on a null object reference
      E MediaHTTPConnection:     at android.media.MediaHTTPConnection.seekTo(MediaHTTPConnection.java:269)
      E MediaHTTPConnection:     at android.media.MediaHTTPConnection.readAt(MediaHTTPConnection.java:440)
      E MediaHTTPConnection:     at android.media.MediaHTTPConnection.native_readAt(Native Method)
      E MediaHTTPConnection:     at android.media.MediaHTTPConnection.readAt(MediaHTTPConnection.java:429)
      E MediaHTTPConnection:     at android.media.IMediaHTTPConnection$Stub.onTransact(IMediaHTTPConnection.java:148)
      E MediaHTTPConnection:     at android.os.Binder.execTransactInternal(Binder.java:1321)
      E MediaHTTPConnection:     at android.os.Binder.execTransact(Binder.java:1280) 

       

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

            vhilshei Volker Hilsheimer
            lkos Łukasz Kosiorowski
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes