"net.sf.hibernate.PropertyValueException"

若是你遇到了下面的错误信息,例如:hibernate

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 表中。rest

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

 

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

相关文章
相关标签/搜索