Second broken nex-5n in 3 weeks?
Meybe a silly thought but have you turned the lens all the way to the right when mounting it. I had the same trouble with my 16mm until I clicked it in firmly to where it should have been seated.
It may be the contacts.
Don't give up on the 5n. It's a great camera.