Confluence 6 "net.sf.hibernate.PropertyValueException: not-null" 相关问题解决

如果你遇到了下面的错误信息,例如:

ERROR [Importing data task] [confluence.importexport.impl.ReverseDatabinder] endElement net.sf.hibernate.PropertyValueException: not-null property references a null or transient value: com.atlassian.user.impl.hibernate.DefaultHibernateUser.name

这个意思是在表中有一个不因为为 null 的地方的值为 null 了。在上面的例子中,这个在 USERS 表中的 name 列有记录为 null。有时候这个问题也会出现在 ATTACHMENTS 表中。

删除上面为 null 的记录,然后重新进行 xml 导出和导入。

https://www.cwiki.us/display/CONFLUENCEWIKI/Troubleshooting+XML+backups+that+fail+on+restore

猜你喜欢

转载自www.cnblogs.com/huyuchengus/p/9231991.html