Try unplugging the modular wiring block (located near the flywheel housing, backside of crankcase) & look at the terminals inside; they may be corroded. If they look good, plug it back together (push hard) & ride it; you might get lucky. If not, start following wires & looking for sharp edges where the wires may have worn thru their insulation. The yellow wire is hot, the brown wire is ground. The yellow wire is what you should concentrate on. If it touches the chassis, it will short out your lighting coil & you get the symptoms you describe. A tougher problem to find is if the wires are bouncing around & the conductor has broken inside the insulation. Wires should be zip-tied so they don't bounce If you don't find anything, your voltage regulator may be bad. Good luck.