not working with grails version 3.1.4

Issue #1 new
Former user created an issue

def cloudinaryService MultipartFile imageFile = request.getFile('fileupload') def imageResult = cloudinaryService.upload(imageFile.bytes)

With this code it gives me "java.lang.NullPointerException: Cannot invoke method upload() on null object" error. I have double check enctype="multipart/form-data" is set.

Comments (0)

  1. Log in to comment