Open g-ericso opened 7 years ago
Hello @g-ericso ! Have this issue been solved for today? I have faced the same problem..
Yes. it was fixed that last year. I don't remember exactly which field is causing the NULL pointer exception. However, it is a problem due to either username or email address was NULL for anonymous user. I thought a fix was applied. Let me figure it out more.
Thanks @g-ericso ! If it is applied, how to avoid this error?
@ryzhovdv I sent a message to our Googler. I will keep you posted when there is an update.
Thank you!
On Mon, Aug 26, 2019 at 7:56 PM Eric So notifications@github.com wrote:
@ryzhovdv https://github.com/ryzhovdv I sent a message to our Googler. I will keep you posted when there is an update.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudendpoints/endpoints-java/issues/112?email_source=notifications&email_token=ACE7RYEUCNECSTWYHO6ZGLTQGQDNRA5CNFSM4D67GLU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5E7AMQ#issuecomment-524939314, or mute the thread https://github.com/notifications/unsubscribe-auth/ACE7RYBZ5K5YIRG2OGEX6G3QGQDNRANCNFSM4D67GLUQ .
Can you please give us more details or trace logs?
This bug was fixed in endpoints-management-java release 1.0.11. Please make sure the customer's pom file includes the correct dependency version (https://cloud.google.com/endpoints/docs/frameworks/java/adding-api-management)
Hope it helps,
Good day! When I changed endpoints-management-java version to the latest -1.0.11 the error have gone! Thanks! But the user argument at endpoint method is null when i get token for anonymous user on android app. When i get token for google account user on android app everything works! At firebase console Anonymous login is allowed and I see anonymous users and it's ids. Why it is not the case at appengine - don't know..
On Tue, Aug 27, 2019 at 3:18 AM Eric So notifications@github.com wrote:
Can you please give us more details or trace logs?
This bug was fixed in endpoints-management-java release 1.0.11. Please make sure the customer's pom file includes the correct dependency version ( https://cloud.google.com/endpoints/docs/frameworks/java/adding-api-management ) com.google.endpoints endpoints-management-control-appengine-all 1.0.11
Hope it helps,
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudendpoints/endpoints-java/issues/112?email_source=notifications&email_token=ACE7RYDG244TBOA62R5W7DDQGRXETA5CNFSM4D67GLU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5GCBGQ#issuecomment-525082778, or mute the thread https://github.com/notifications/unsubscribe-auth/ACE7RYBAMPXEPFF3ZB7G3RDQGRXETANCNFSM4D67GLUQ .
We are using the firebase auth token generated with an anonymous account. The cloud endpoints returns a 503 error.
As I remembered, this may relate to email address is not found in that User object which is valid in anonymous user. It will be great to return a User object with user id from firebase with empty or null value in email field.