A null parameter has been passed error on File Upload Component

Hi All,

We are facing the errow : A null parameter has been passed as parameter 1 at function a!fileUploadField.

Is anyone aware what can be the possible scenario for this error?

Kindly advise.

Thanks and Regards,
Diksha

  Discussion posts and replies are publicly visible

Parents Reply
  • This is the code snippet. Strangely, this error is only faced by one of the users and others are able to upload files as expected.

    a!fileUploadField(
    target: cons!FILE_UPLOAD_FOLDER,
    maxSelections: 1,
    filenames: fv!file.name &"_APN_"&loggedInUser(),
    value: local!fileUpload,
    saveInto: { local!fileUpload,
    a!save( ri!fileUpload, save!value),
    a!save( ri!fileName,save!value)
    },
    validations: {}
    )

Children