How to Resolve the Run time error 11 when I try to view a model in 3D or Place a Roof

When ever try to generate a 3D view of the object, whether that is using the 3D view tool or the roof tool, the software crashes and i get the message of run time error 11 Division by 0.

Is there a way of solving this?

Is it a Hardware or Software issue?

Yet when i go into the room editor and it produces a 3D rendering of the room, it does not crash.