Had the same issue. Spend hours correcting all empty functions in all DR5 reports before migrating to DR6. IMHO, this issue should have been fixed long time ago by the DR6 migrate tool.