Roster returning unavailable for all entries

im using smack 4.1.6, and openfire ( newest, not sure version number)

now i’ve tried to retreive the pressence 2 ways.

1 is after login, i try to get the roster via Roster.

“roster = Roster.getInstanceFor(getConnection());”

this returns unavailible on all entrys even ones i know are logged in via my pc with spark.

i also try to use

“public class rosterListener implements RosterListener {”

a roster listener.
i figured the listener would have the most recent roster. but still unavailible.

im using smack 4.1.6, and openfire ( newest, not sure version number)

now i’ve tried to retreive the pressence 2 ways.

1 is after login, i try to get the roster via Roster.

“roster = Roster.getInstanceFor(getConnection());”

this returns unavai