Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5
-
None
Description
Executing this Groovy snippet:
@Grab('org.apache.commons:commons-fileupload:+') import org.apache.commons.fileupload.disk.DiskFileItem println(new DiskFileItem('test2.txt', 'text/plain', false, 'test2.txt', 512, new File('test2.txt')))
produces a NullPointerException as toString tries to access dfo which is null.