NullPointer from clearcase plugin during workspace cleanup

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: clearcase-plugin
    • None

      During workspace cleanup, we are getting a null pointer exception in our logs:

      INFO: Started Workspace clean-up
      Exception in thread "Workspace clean-up thread" java.lang.NullPointerException
      at hudson.plugins.clearcase.AbstractClearCaseScm.processWorkspaceBeforeDeletion(AbstractClearCaseScm.java:509)
      at hudson.model.WorkspaceCleanupThread.shouldBeDeleted(WorkspaceCleanupThread.java:124)
      at hudson.model.WorkspaceCleanupThread.process(WorkspaceCleanupThread.java:144)
      at hudson.model.WorkspaceCleanupThread.execute(WorkspaceCleanupThread.java:74)
      at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:54)
      at java.lang.Thread.run(Thread.java:619)

      We use the standard view name in clearcase as hudson_${NODE_NAME}_${JOB_NAME} which may be causing the issue, I'm not sure. We also only use the base clearcase support and we use slave agents, though we tie each job to only one agent.

            Assignee:
            Andrew Bayer
            Reporter:
            Peter Hayes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: