I bought a STX 900 1998 a few months ago. I rode it for 3-4 time (about 2 hours) and the engine cut out. After having check all the items, I was not getting a spark. The power was going into the CDI but not out, so I ordered a used one on ebay. After having received it, the engine fired up and I thought the problem was fixed, but on the water for 30 mins and dead again. I had ordered a "spare" CDI from ebay for a 1995 KAWASAKI ZXI900 and once I put that one on, I removed the trim fuse (that is where some signs of heat in the wires was pointing). The engine fired up but this time for less than 2 mins.

I know electrical problem are hard to find, but any help or suggestions would be helpful.