I recently had an error similar to this one. I would run the network lattice script and there seemed to be an issue with the rotation field. The fix for me was to make sure the building outline lined up with the rest of the building. I discovered there was an overlap that was causing the error to happen. After rebuilding the building outline feature class, the error cleared. Not sure if this is your same issue. Good luck!
... View more