SynchronousAwareAnnotatedMethodsListenerHandler Method is producing flux of " Couldn't find any valid listener methods" log messages when debug is enabled

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • 7

      Issue Summary

      SynchronousAwareAnnotatedMethodsListenerHandler Method is producing flux of " Couldn't find any valid listener methods" messages when debug is enabled. This issue is replicable on all the fixed versions of bug BSERV-18905.
      The log message is supposed to be written when logging is set to trace.

      Steps to Reproduce

      • Enable debug logging on fixed versions of BSERV-18905, you will notice "Couldn't find any valid listener methods" log messages in atlassian-bitbucket.log file.

      Expected Results

      "Couldn't find any valid listener methods" shouldn't be logged when debug logging is enabled.

      Actual Results

      The below log message is written very frequently in the atlassian-bitbucket.log file:

      2025-05-13 09:05:04,153 DEBUG [http-nio-7990-exec-4] admin @G7ZLXJx545x536x0 11xf7wn 10.229.187.151,10.229.164.76 "GET /plugins/servlet/troubleshooting/view/ HTTP/1.1" c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class <com.atlassian.troubleshooting.stp.servlet.SupportToolsViewServlet>
      2025-05-13 09:05:04,153 DEBUG [http-nio-7990-exec-4] admin @G7ZLXJx545x536x0 11xf7wn 10.229.187.151,10.229.164.76 "GET /plugins/servlet/troubleshooting/view/ HTTP/1.1" c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class <com.atlassian.troubleshooting.stp.servlet.SupportToolsViewServlet>
      2025-05-13 09:05:04,154 DEBUG [http-nio-7990-exec-4] admin @G7ZLXJx545x536x0 11xf7wn 10.229.187.151,10.229.164.76 "GET /plugins/servlet/troubleshooting/view/ HTTP/1.1" c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class <com.atlassian.troubleshooting.stp.servlet.SupportToolsViewServlet>
      2025-05-13 09:05:04,154 DEBUG [http-nio-7990-exec-4] admin @G7ZLXJx545x536x0 11xf7wn 10.229.187.151,10.229.164.76 "GET /plugins/servlet/troubleshooting/view/ HTTP/1.1" c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class <com.atlassian.troubleshooting.stp.servlet.SupportToolsViewServlet>
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Simon Kerle
            Reporter:
            Kalyan Kumar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: