Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. IllegalArgumentException: Invalid payload item type
Forum Updated to NodeBB v4.3 + New Features

IllegalArgumentException: Invalid payload item type

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 169 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Francky033
    wrote on last edited by
    #1

    Hello,

    For several years now, my Android application has been crashing on certain devices (mostly Samsung) and only on Android 12.

    The play console shows an exception "IllegalArgumentException: Invalid payload item type" :

    Exception java.lang.IllegalArgumentException: Invalid payload item type
      at android.util.EventLog.writeEvent
      at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:10136)
      at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:10486)
      at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:259)
      at android.os.MessageQueue.nativePollOnce
      at android.os.MessageQueue.next (MessageQueue.java:335)
      at android.os.Looper.loopOnce (Looper.java:186)
      at android.os.Looper.loop (Looper.java:313)
      at android.app.ActivityThread.main (ActivityThread.java:8663)
      at java.lang.reflect.Method.invoke
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
    

    This implies the java function enqueueInputEvent but I don't understand at all why this exception occurs. I don't use Java directly in the software.

    I use Qt 6.5.2 and ndk 25.x

    I created a ticket in Qt bug concerning this issue in June 2022 https://bugreports.qt.io/browse/QTBUG-103960 but with no effect.

    What can I do?

    With my thanks!

    Francky

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved