Clicking in a ListView, Intermittent reports an exception java.lang.IllegalArgumentException: argument type mismatch

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      $ java -version
      java version "25" 2025-09-16 LTS
      Java(TM) SE Runtime Environment (build 25+37-LTS-3491)
      Java HotSpot(TM) 64-Bit Server VM (build 25+37-LTS-3491, mixed mode, sharing)


      A DESCRIPTION OF THE PROBLEM :
      Clicking in a ListView, sometimes reports this exception:

      java.lang.IllegalArgumentException: argument type mismatch
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:108)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      ...

      It is inconsistent. Sometimes it works and the app behaves normally and other times the app throws this exception. All I do is restart the app.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I just rerun the app.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      App should pick the selection in the ListView and continue running.
      ACTUAL -
      When I click inside the ListView sometimes it behaves expectedly and other times it throws the exception above.

      ---------- BEGIN SOURCE ----------
      I don't have any.
      ---------- END SOURCE ----------

            Assignee:
            Praveen Narayanaswamy
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: