I am receiving many errors of kind displayed in the subj. These errors seems to be occasional and I cannot reproduce them. From stack I can learn that such error may occurs
For me it happened because I tried to mix xml vector graphics images with ordinary png in the same layout file,
only after I replaced the xml vector graphics with pngs it started to work