It happens when the image object is created without the actual image and it is moved to trash.
It seems to work in 4.3
Steps to reproduce:
1. Create an object class Image
1.1. Fill in the name attribute and send it for publishing without adding an image
2. After publishing find the node of the object and click "remove" button
2.1. Make sure that "Move to trash" checkbox is checked.
2.2. Click "OK" button
3. This procedure leads to creating a corrupted SQL query:
and this leads to a fatal error: