The line in question probably looks like (quote from class-wp-xmlrpc-server.php):
if ( strpos( $post_content, $file->guid ) !== false )
The problem here is $file->guid is empty. Just put another check before this line and the problem will be solved:
if($file->guid && !($file->guid == NULL))