What, if anything , have you done to the bike lately before this started? Initial thoughts would be to look for loose or rubbing wires that are exposed and shorting out somewhere?
Are you capable of removing the tank and checking all of the harness connections under there?
Others with more "electrical" insight will be along shortly