As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
So I have just added two unique users to my backend. I am trying to discover one of the users in my test app but I am not seeing anything. I have added a custom ID to each of the users (ex: user.put("UserID", "123456") and I have updated the server). I can see that both these users exist and that the data has been stored in the backend. I am looping through all the ID's(which includes the ones I have given to the user) and am running the following code:
criteria.set(TAG_USER_ID, iFriend.getId());
Gdx.app.log(TAG, "Friend ID " + iFriend.getId().equals("662493754"));
Gdx.app.error(TAG, "failed to fetchByFilterCriteria");
}
where iFriend is a GraphUser(the ID's are facebook ID's). The out put I get "failed to fetchByFilterCriteria" , but when I check the id directly via " iFriend.getId().equals("123456")", it returns true. So why am I not finding the user?
**Also, there is no way to edit a post once you send it or to respond to an answer(like comments). Hopefully that will be updated in the future.
UserLookup is intended for retrieving information about Users without actually exposing all fields-- Since that's not applicable to your usecase, you can just use the `User.retrieve` methods:
> UserLookup is intended for retrieving information about Users without actually exposing all fields-- Since that's not applicable to your usecase, you can just use the `User.retrieve` methods:
Thanks for the help Ed, but I have one final question related to this issue. I am trying to access/retrieve a looked up user's data but I am running into an error:
java.lang.NullPointerException: abstractKinveyClient must not be null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:208)
at com.kinvey.java.core.AbstractKinveyClientRequest. (AbstractKinveyClientRequest.java:129)
at com.kinvey.java.core.AbstractKinveyJsonClientRequest. (AbstractKinveyJsonClientRequest.java:45)
at com.kinvey.java.User$Retrieve.(User.java:670)
at com.kinvey.java.User.retrieveBlocking(User.java:388)
I am not sure what would cause this error. The user is not null and I can get its username and id just fine.
E
Edward
said
over 9 years ago
Hey,
Every request needs a reference to the active client, and this request is failing because that reference is null. Can you post the code you are using to make the request?
> Every request needs a reference to the active client, and this request is failing because that reference is null. Can you post the code you are using to make the request?
Ebrahim Behbahani
criteria.set(TAG_USER_ID, iFriend.getId());
Gdx.app.log(TAG, "Friend ID " + iFriend.getId().equals("662493754"));
try {
User[] results = users.lookupBlocking(criteria).execute();
} catch (Exception e) {
Gdx.app.error(TAG, "failed to fetchByFilterCriteria");
}
where iFriend is a GraphUser(the ID's are facebook ID's). The out put I get "failed to fetchByFilterCriteria" , but when I check the id directly via " iFriend.getId().equals("123456")", it returns true. So why am I not finding the user?
**Also, there is no way to edit a post once you send it or to respond to an answer(like comments). Hopefully that will be updated in the future.