locationProvider.getLocation(60) returns null...

Hi, I am trying to find out the position of my mobile, I am unable to do that, I am getting null output from the above method. My phone is JSR 179 enabled, it supports location api.