NPE when /script used on offline slave

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
      

            Assignee:
            Oliver Gondža
            Reporter:
            Oliver Gondža
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: