java.lang.ClassCastException: hudson.matrix.MatrixConfiguration cannot be cast to hudson.model.TopLevelItem

Jenkins JIRA | Thomas Fields | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.matrix.MatrixConfiguration cannot be cast to hudson.model.TopLevelItem

      at hudson.plugins.lockedfilesreport.LockedFilesReporter.checkForFileUsage()
    2. hudson.plugins.lockedfilesreport
      LockedFilesReporter.prebuild
      1. hudson.plugins.lockedfilesreport.LockedFilesReporter.checkForFileUsage(LockedFilesReporter.java:79)
      2. hudson.plugins.lockedfilesreport.LockedFilesReporter.prebuild(LockedFilesReporter.java:53)
      2 frames
    3. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:675)
      2. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:670)
      3. hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:666)
      4. hudson.model.Build$RunnerImpl.doRun(Build.java:121)
      5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429)
      6. hudson.model.Run.run(Run.java:1374)
      7. hudson.matrix.MatrixRun.run(MatrixRun.java:137)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:145)
      9 frames