javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !

Jenkins JIRA | Piotr Kral | 4 years ago
  1. 0

    SCM Sync configuration plugin causes errors when Home directory != Workspace Root Directory. For example at windows I have: Home directory C:\Program Files (x86)\Jenkins Workspace Root Directory C:/Jenkins/${ITEM_FULLNAME}/workspace When the plugin is enabled and I wont to Edit Build Information I get error: Exception: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] ! Stacktrace: javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] ! at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) ..... It looks like Jenkins was looking for files at $Home directory instead off Workspace Root Directory. The error occurs but the build information stays. It also occurs in other places when I'm writing a comment. Today i wasn't able to run build because in the middle of Clear Case operations I've got the error. The solution to fix this it either to disable/remove SCM plugin or Install Jenkins in the same directory as Workspace Root Directory.

    Jenkins JIRA | 4 years ago | Piotr Kral
    javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !
  2. 0

    SCM Sync configuration plugin causes errors when Home directory != Workspace Root Directory. For example at windows I have: Home directory C:\Program Files (x86)\Jenkins Workspace Root Directory C:/Jenkins/${ITEM_FULLNAME}/workspace When the plugin is enabled and I wont to Edit Build Information I get error: Exception: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] ! Stacktrace: javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] ! at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) ..... It looks like Jenkins was looking for files at $Home directory instead off Workspace Root Directory. The error occurs but the build information stays. It also occurs in other places when I'm writing a comment. Today i wasn't able to run build because in the middle of Clear Case operations I've got the error. The solution to fix this it either to disable/remove SCM plugin or Install Jenkins in the same directory as Workspace Root Directory.

    Jenkins JIRA | 4 years ago | Piotr Kral
    javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !
  3. 0

    [JENKINS-18041] SCM Sync configuration plugin causes errors when Home directory != Workspace Root Directory - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    javax.servlet.ServletException: java.lang.IllegalArgumentException: Err ! File seems not to reside in !
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gerrit trigger in Jenkins not starting builds

    Google Groups | 9 months ago | Gaurav Negi
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: java/lang/ReflectiveOperationException
  6. 0

    NullPointerException thrown when trying to perform a Maven Release – CloudBees Support

    zendesk.com | 7 months ago
    javax.servlet.ServletException: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      java.lang.IllegalArgumentException: Err ! File [C:\Jenkins\Farm Monitor\builds\2013-05-22_11-52-09\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !

      at org.kohsuke.stapler.Stapler.tryInvoke()
    2. Stapler
      MetaClass$12.dispatch
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      3. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      3 frames