PUBLIC - Liferay Faces

Adding a document causes error "No RepositoryEntry exists with the primary key" in the icefaces3-documents-portlet with Liferay 6.1