My brother had this. He was THIS close to selling the bike. Listed it and everything.
You should have posted sooner.
Check the side stand switch. This causes the fault.
Check the neutral switch.
My brother had this and went through the same thought process. Cdi no. Coils no. Turned out to be the side stand switch. He just looped it out in the end.
I forgot to say. Have bypassed the kill switch, side stand switch and ignition.
Also finally after getting the bike started i was riding it to the mot place and it was bogging... hit 6k rpm and thats when it cut out and hasnt started since.
Compression is ok. Fuel tank has been cleaned out. Has a new fuel pipe. Carb has been cleaned.