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

Null pointer when deleting a job that does not have a clearcase view yet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Platform: All, OS: All

      If you create a job, configure it with base clearcase and then delete it without
      running a build, a nullpointer is received. The workaround is reconfigure the
      job to not use clearcase and then delete it.

      RequestURI=/job/aat-tcServer/doDelete
      Caused by:

      java.lang.NullPointerException
      at
      hudson.plugins.clearcase.AbstractClearCaseScm$1.onDeleted(AbstractClearCaseScm.java:485)
      at hudson.model.Hudson.deleteJob(Hudson.java:1906)
      at hudson.model.AbstractItem.delete(AbstractItem.java:268)
      at hudson.model.AbstractItem.doDoDelete(AbstractItem.java:247)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:489)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:489)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:405)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:116)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      at
      org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1121)

            abayer Andrew Bayer
            petehayes Peter Hayes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: