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

Exception when viewing cvs version and binary not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: Sun, OS: Solaris

      I am using version 1.73 on Solaris and trying to deploy Hudson under JBoss
      4.0.4.GA. The issue seems to be that the cvs bin is not found. When I click on
      the link to check the cvs version I get the exception below. It should probably
      catch this and display an error message saying cvs was not found.

      HTTP Status 500 -
      ------------------------------

      type Exception report

      message

      description *The server encountered an internal error () that prevented it
      from fulfilling this request.*

      exception

      javax.servlet.ServletException: cvs: not found
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:233)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
      org.kohsuke.stapler.Stapler.service(Stapler.java:68)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      java.io.IOException: cvs: not found
      java.lang.UNIXProcess.forkAndExec(Native Method)
      java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
      java.lang.ProcessImpl.start(ProcessImpl.java:65)
      java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
      java.lang.Runtime.exec(Runtime.java:591)
      hudson.Proc$LocalProc.<init>(Proc.java:79)
      hudson.Launcher$LocalLauncher.launch(Launcher.java:130)
      hudson.Launcher.launch(Launcher.java:74)
      hudson.scm.CVSSCM$DescriptorImpl.doVersion(CVSSCM.java:779)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
      org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
      org.kohsuke.stapler.Stapler.service(Stapler.java:68)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      note *The full stack trace of the root cause is available in the Apache
      Tomcat/5.5.17 logs.*
      ------------------------------
      Apache Tomcat/5.5.17

            Unassigned Unassigned
            poswald poswald
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: