Need help to solve "Runtime Error"

Hi,
when i try to upload image to G-Drive, it shows this error message "Attempt to invoke virtual method ‘boolean java.lang.String.contains(java.lang.CharSequence)’ on a null object reference.
These are the blocks used :
blocks
blocks(1)
blocks(2)
blocks(3)


blocks(2)

Please help me.

Thank you