Question about asmack api

When i use RosterEntry.getName() and RosterEntry.getUser .They give me the same result. Thus,resulting in many problems in my project . how to fix this?

THANKS A LOT.