Bug #3357
AUTH TOKEN NULL-- WHAT TO DO?
Status: | Closed | Start date: | 05/09/2014 | |
---|---|---|---|---|
Priority: | Urgent | Due date: | 05/09/2014 | |
Assignee: | n8fr8 | % Done: | 0% | |
Category: | - | |||
Target version: | GLSP | |||
Component: |
Description
This is happening based on my latest tests of latest code for JustPay.
It happens after attempts to upload my first work log.
05-09 11:58:10.488: D/************************** TRANSPORT ******************(28174): AUTH TOKEN NULL-- WHAT TO DO?
05-09 11:58:10.488: D/************************** TRANSPORT ******************(28174): THIS GOOGLE ACCT: SIM
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): com.google.android.gms.auth.GoogleAuthException: BadUsername
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): com.google.android.gms.auth.GoogleAuthException: BadUsername
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at com.google.android.gms.auth.GoogleAuthUtil.a(Unknown Source)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at com.google.android.gms.auth.GoogleAuthUtil.getTokenWithNotification(Unknown Source)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at org.witness.informacam.transport.GoogleDriveTransport$AuthToken.<init>(GoogleDriveTransport.java:214)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at org.witness.informacam.transport.GoogleDriveTransport.init(GoogleDriveTransport.java:52)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at org.witness.informacam.transport.GoogleDriveTransport.init(GoogleDriveTransport.java:113)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at org.witness.informacam.transport.GoogleDriveTransport.init(GoogleDriveTransport.java:113)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at org.witness.informacam.transport.Transport.onHandleIntent(Transport.java:528)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at android.os.Handler.dispatchMessage(Handler.java:99)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at android.os.Looper.loop(Looper.java:137)
05-09 11:58:10.535: E/************************** TRANSPORT ******************(28174): at android.os.HandlerThread.run(HandlerThread.java:60)
History
#1 Updated by n8fr8 over 3 years ago
- Status changed from New to Resolved
- Assignee changed from harlo to n8fr8
Made progress on this... I stopped using GoogleAuthUtil and instead use the Android AccountManager.getAuthToken() call directly. Seems to work on my Samsung 4.2 and Huawei devices now.
#2 Updated by n8fr8 about 3 years ago
- Status changed from Resolved to Closed