If you were using Simplified Avionics (Easy Radar), and the bug happens when you lock on to a target, this is a known bug, and C3PO has posted this will be fixed in the patch.
Workaround - lock on BEFORE you switch to A/A missiles, then switch to A/A.