Maybe they could let you pick your weapon, and if you pick a weapon for which you have no ability points, pop up a message:

"You have no ability points in that weapon specialization. Are you sure you want to use it?"

[Change ability points] [Change weapon type] [Continue Anyway]