file parameter issue in jenkins pipeline

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

XMLWordPrintable

      Hello,

       

      I have created a pipleine job with file parameter. When I try to upload file through curl the file is not getting uploaded. When checked in build page parameters clicking on file parameter name it is giving below error. The same command runs for freestyle job and working good,

       

      java.lang.NullPointerException at hudson.model.FileParameterValue.doDynamic(FileParameterValue.java:205) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:397) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)

       

      Thanks.

            Assignee:
            Unassigned
            Reporter:
            kailash joshi
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: