emit error if attempt is made to modify null bottle, see #258