Music files not showing in stock player with Galaxy Y When I open the gallery in my Galaxy Y it shows no items. Also when I open my music player it shows no tracks.

I think it is a system error. If I try to play music using PowerAmp it shows all the tracks in library -- but the stock music player doesnt.

What could be wrong here, and how can I get it fixed?
Check first your microSD card if it is properly mounted and most importantly have .mp3 in your Music folder. 

I had far too many instances where others copied only the shortcut of the mp3 file to their folder, then came looking for me telling that their phone does not detect the music.

The folder where your music is stored also must not have a .nomedia file present or all files will be ignored.