Google code issue 326: fix state saving fail on UnmappedResourceHandler