We bought a lime tree about three years ago, had fruit on it; since then, looks healthy, flowers, but never fruited again.
It's on my 'warning list' of plants, either produce fruit or I'll replant you somewhere in our no man's land over the wall.
Had an ugly non-flowering oleander that I banished to the jungle land bad plant gulag, now it's 1.5m and flowering, but there's no coming back, life means life.