Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33395

Jenkins should install a default UncaughtExceptionHander

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      many plugins and Jenkins start threads in new threadgroups without any ExceptionHandler.

      Jenkins should install a default UncaughtExceptionHandler so that if there are any exceptions thrown in these threads the threads won;t just silently die without any trace.

          [JENKINS-33395] Jenkins should install a default UncaughtExceptionHander

          Jesse Glick added a comment -

          the threads won;t just silently die without any trace

          Well, by default a stack trace is printed to stderr. Which may or may not be reported to an admin.

          In practice most threads in Jenkins already catch all errors at some other level and log them somehow. But this could be useful as a final fallback.

          Jesse Glick added a comment - the threads won;t just silently die without any trace Well, by default a stack trace is printed to stderr. Which may or may not be reported to an admin. In practice most threads in Jenkins already catch all errors at some other level and log them somehow. But this could be useful as a final fallback.

          Code changed in jenkins
          User: James Nord
          Path:
          core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
          http://jenkins-ci.org/commit/jenkins/3c10f1f7b905feb5b1f7c4b3a1d98048defda3a3
          Log:
          [FIXED JENKINS-33395] install an uncaught exception handler

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: James Nord Path: core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java http://jenkins-ci.org/commit/jenkins/3c10f1f7b905feb5b1f7c4b3a1d98048defda3a3 Log: [FIXED JENKINS-33395] install an uncaught exception handler

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
          http://jenkins-ci.org/commit/jenkins/f1d5653b507fb63a60fa3fa63760367b7abfae46
          Log:
          Merge pull request #2095 from jtnord/jenkins-33395

          [FIXED JENKINS-33395] install an uncaught exception handler

          Compare: https://github.com/jenkinsci/jenkins/compare/d8241ff7803c...f1d5653b507f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java http://jenkins-ci.org/commit/jenkins/f1d5653b507fb63a60fa3fa63760367b7abfae46 Log: Merge pull request #2095 from jtnord/jenkins-33395 [FIXED JENKINS-33395] install an uncaught exception handler Compare: https://github.com/jenkinsci/jenkins/compare/d8241ff7803c...f1d5653b507f

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4513
          [FIXED JENKINS-33395] install an uncaught exception handler (Revision 3c10f1f7b905feb5b1f7c4b3a1d98048defda3a3)

          Result = SUCCESS
          james nord : 3c10f1f7b905feb5b1f7c4b3a1d98048defda3a3
          Files :

          • core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java

          dogfood added a comment - Integrated in jenkins_main_trunk #4513 [FIXED JENKINS-33395] install an uncaught exception handler (Revision 3c10f1f7b905feb5b1f7c4b3a1d98048defda3a3) Result = SUCCESS james nord : 3c10f1f7b905feb5b1f7c4b3a1d98048defda3a3 Files : core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: