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

java.lang.IllegalArgumentException: Failed to instantiate class hudson.slaves.DumbSlave

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Apache Tomcat/6.0.18
      IBM JVM pxz6460sr8-20100409_01 (SR8)
      Hudson v1.371

      Description

      I am manipulating a slave node at http://hudson/computer/winxp-kvm/configure and have Node properties of [ ] Environment Variables (unchecked); [X] Tool Locations (checked) but no actual tool locations. When I Save the node Hudson throws:

      javax.servlet.ServletException: java.lang.Error: This page expects a form submission
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:569)
      	org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:359)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
      	org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:181)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
      	org.kohsuke.stapler.Stapler.service(Stapler.java:132)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      	hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      java.lang.Error: This page expects a form submission
      	org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:726)
      	hudson.model.Computer.doConfigSubmit(Computer.java:971)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	java.lang.reflect.Method.invoke(Method.java:600)
      	org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:259)
      	org.kohsuke.stapler.Function.bindAndInvoke(Function.java:126)
      	org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:65)
      	org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:79)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
      	org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:359)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
      	org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:181)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
      	org.kohsuke.stapler.Stapler.service(Stapler.java:132)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      	hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)

        Activity

        Hide
        ssbarnea Sorin Sbarnea added a comment -

        I do get the same exception while I try to save the hudson config (not slave).

        Show
        ssbarnea Sorin Sbarnea added a comment - I do get the same exception while I try to save the hudson config (not slave).
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Seiji Sogabe
        Path:
        changelog.html
        core/src/main/java/hudson/tools/ToolLocationNodeProperty.java
        http://jenkins-ci.org/commit/jenkins/ea3452ce2cd9287c427b671e94e60d44953f38f4
        Log:
        [FIXED JENKINS-7174] Failed to instantiate DumnSlave.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/tools/ToolLocationNodeProperty.java http://jenkins-ci.org/commit/jenkins/ea3452ce2cd9287c427b671e94e60d44953f38f4 Log: [FIXED JENKINS-7174] Failed to instantiate DumnSlave.
        Hide
        dogfood dogfood added a comment -

        Integrated in jenkins_main_trunk #620
        [FIXED JENKINS-7174] Failed to instantiate DumnSlave.

        Seiji Sogabe : ea3452ce2cd9287c427b671e94e60d44953f38f4
        Files :

        • changelog.html
        • core/src/main/java/hudson/tools/ToolLocationNodeProperty.java
        Show
        dogfood dogfood added a comment - Integrated in jenkins_main_trunk #620 [FIXED JENKINS-7174] Failed to instantiate DumnSlave. Seiji Sogabe : ea3452ce2cd9287c427b671e94e60d44953f38f4 Files : changelog.html core/src/main/java/hudson/tools/ToolLocationNodeProperty.java
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Seiji Sogabe
        Path:
        changelog.html
        core/src/main/java/hudson/tools/ToolLocationNodeProperty.java
        http://jenkins-ci.org/commit/jenkins/ea3452ce2cd9287c427b671e94e60d44953f38f4
        Log:
        [FIXED JENKINS-7174] Failed to instantiate DumnSlave.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/tools/ToolLocationNodeProperty.java http://jenkins-ci.org/commit/jenkins/ea3452ce2cd9287c427b671e94e60d44953f38f4 Log: [FIXED JENKINS-7174] Failed to instantiate DumnSlave.

          People

          • Assignee:
            Unassigned
            Reporter:
            jieryn jieryn
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: