加载视图后台抛异常ValidationException

documentary,order两个实体的关系是多对多,documentary使用@ManyToMany (fetch=FetchType.LAZY)注解属性orders,
views.xml创建视图 如:
<view entity=“documentary” name=“documentary-view extends=”_local">


在打开浏览页, 后台抛异常 org.elipse.persistence.exceptions.ValidationException:
An attempt was made to traverse a relationship using indirection that had a null Session ,this often occurs when an entity with an uninstantiated lazy is serialized and that relationship is traversed after serialization .to avoid this issue,instantiate the lazy relationship prior to serialization

两个实体都是用 studio 生成的吗,实体之间映射关系部分代码贴一下