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

Unhandled exception in doRun.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: gerrit-trigger-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.249.1
      gerrit-trigger-plugin
    • Similar Issues:

      Description

      We encountered the following traceback over the weekend.

       

      2020-09-19 16:54:29.696+0000 [id=2750046] SEVERE h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (GerritMissedEventsPlaybackEnabledChecker thread/2750046) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
      java.nio.file.NoSuchFileException: /reps/jenkins/home/logs/tasks/GerritMissedEventsPlaybackEnabledChecker.log
      at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
      at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
      at java.nio.file.Files.newOutputStream(Files.java:216)
      at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:128)
      at hudson.model.AsyncPeriodicWork.createListener(AsyncPeriodicWork.java:175)
      Caused: java.lang.Error
      at hudson.model.AsyncPeriodicWork.createListener(AsyncPeriodicWork.java:177)
      at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:96)
      at java.lang.Thread.run(Thread.java:748)

       

       

      Looks like the problem is createListener can throw an Error exception that is not being caught in the doRun routine.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sascht Charles Tudor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: