Not sure, but check the field named "pic" in RegistrationActionForm for the valid data type. Its seems like your assigning a wrong data to the "pic" property !!
triied all that...... there are the getter and setter methods.....
see, there is a JSP, has an input type as FILE
ActionForm contains FormFile getter and setter method
ActionClass uses getPic() method to get the properties of the file.......