Closed Bug 709655 Opened 10 years ago Closed 10 years ago

Handle null results for query()

Categories

(Firefox for Android Graveyard :: Android Sync, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rnewman, Assigned: jvoll)

References

Details

E.g., in

     Cursor cur = dataAccessor.getGuidsIDsForFolders();
E/AndroidRuntime(  426): java.lang.NullPointerException
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.repositories.android.AndroidBrowserBookmarksRepositorySession.begin(AndroidBrowserBookmarksRepositorySession.java:126)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.synchronizer.RecordsChannel.onBeginSucceeded(RecordsChannel.java:178)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.repositories.RepositorySession.begin(RepositorySession.java:109)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.synchronizer.RecordsChannel.flow(RecordsChannel.java:117)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.synchronizer.SynchronizerSession.synchronize(SynchronizerSession.java:108)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.synchronizer.Synchronizer$SynchronizerDelegateSessionDelegate.onInitialized(Synchronizer.java:76)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.synchronizer.SynchronizerSession.onSessionCreated(SynchronizerSession.java:217)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.repositories.android.AndroidBrowserBookmarksRepository.sessionCreator(AndroidBrowserBookmarksRepository.java:50)
E/AndroidRuntime(  426): 	at org.mozilla.android.sync.repositories.android.AndroidBrowserRepository$CreateSessionThread.run(AndroidBrowserRepository.java:96)
Blocks: 704490, 695463
Waiting on rnewman to merge back to develop from content-providers branch.
This has been merged back to develop. Resolving bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.