Narrative:

With ground power connected, aircraft was getting ready to taxi to gate. As flaps were brought up from 30 degree position, large sparks were noticed from #3 flap track fairing area, as flaps began to move up. Inspection found small burn mark in canoe, most likely from static discharge from linkage inside canoe. Aircraft was not grounded. ('Not grounded' means not grounded statically to earth with cord.) found no other possible source of discharge.

Google
 

Original NASA ASRS Text

Title: A B747-400 WITH GND PWR CONNECTED HAD LARGE SPARKS DISPLAYED FROM #3 FLAP TRACK FAIRING CANOE WHEN FLAPS WERE RETRACTED.

Narrative: WITH GND PWR CONNECTED, ACFT WAS GETTING READY TO TAXI TO GATE. AS FLAPS WERE BROUGHT UP FROM 30 DEG POS, LARGE SPARKS WERE NOTICED FROM #3 FLAP TRACK FAIRING AREA, AS FLAPS BEGAN TO MOVE UP. INSPECTION FOUND SMALL BURN MARK IN CANOE, MOST LIKELY FROM STATIC DISCHARGE FROM LINKAGE INSIDE CANOE. ACFT WAS NOT GNDED. ('NOT GNDED' MEANS NOT GNDED STATICALLY TO EARTH WITH CORD.) FOUND NO OTHER POSSIBLE SOURCE OF DISCHARGE.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.