If I recall correctly, one of the main bus panels in the 787 caught fire during the certification/proving phase of the program, causing a total re-design of that system and a pretty significant delay in certification of the 787 until the issue was corrected.
True, not a good event in an aircraft that is so dependent on it's electrical system.