jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-33234] Find doubly -added listeners

Open
#773 1 comment 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
226
Forks
289
PR merge metrics
No merged PRs in 30d

Description

When starting our Jenkins, we receive error messages like


com.sonymobile.tools.gerrit.gerritevents.GerritHandler addListener

WARNING: The listener was doubly-added: com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener@​b381a0f8

Could we get a possibility to identify the jobs causing the warning, in order to solve it?

---
Originally reported by andreas_pelzer, imported from: Find doubly -added listeners


  • assignee: rsandell
  • status: Open
  • priority: Minor
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 3
  • watchers: 3
  • imported: 2025-12-06

Raw content of original issue

When starting our Jenkins, we receive error messages like


com.sonymobile.tools.gerrit.gerritevents.GerritHandler addListener
WARNING: The listener was doubly-added: com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener@b381a0f8

Could we get a possibility to identify the jobs causing the warning, in order to solve it?

Contributor guide

Open the contributing guide

Research direction

Start at GerritHandler.addListener, the entry point named in the warning, and trace how the gerrit-trigger-plugin associates listeners with jobs. The issue does not name files or tests; done means the warning can identify the jobs responsible for doubly-added listeners.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.