PROBLEM:
In 3D camera views railings display black wedges from joins.
CAUSE:
Bug in Revit 2015. May also occur later versions.
SOLUTION:
Change Default Join type of the Top Rail.
First find out what the Top Rail is called by selecting the railing and looking at its Type properties.
In the Project Browser under Families go to Top Rail Types.
Right click over the type that is causing the problem.
Change Default Join to Miter.