Bifurcation in a multicomponent system of nonlinear Schrödinger equations