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

NPE when /script used on offline slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      hudson.util.RemotingDiagnostics.executeGroovy does not check for null channel:

      java.lang.NullPointerException
      	at hudson.util.RemotingDiagnostics.executeGroovy(RemotingDiagnostics.java:119)
      	at jenkins.model.Jenkins._doScript(Jenkins.java:3386)
      	at hudson.model.Computer._doScript(Computer.java:1172)
      	at hudson.model.Computer.doScript(Computer.java:1161)
      	at sun.reflect.GeneratedMethodAccessor7323.invoke(Unknown Source)
      	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:298)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	... 53 more
      

            olivergondza Oliver Gondža
            olivergondza Oliver Gondža
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: