microg/GmsCore · error · RuntimeException
Not yet implemented
Error message
Not yet implemented
What it means
Builder.sort(String) is a stub in this library: calling it always throws UnsupportedOperationException("Not yet implemented"). It fires unconditionally whenever a caller attempts to sort the builder's rows by a column; no input is at fault.
Source
Thrown at play-services-base/src/main/java/com/google/android/gms/common/data/DataHolder.java:524
}
/**
* @return The number of rows that the resulting DataHolder will contain.
*/
public int getCount() {
return rows.size();
}
/**
* Sort the rows in this builder based on the standard data type comparisons for the value in the provided column.
* Calling this multiple times with the same column will not change the sort order of the builder.
* Note that any data which is added after this call will not be sorted.
*
* @param sortColumn The column to sort the rows in this builder by.
* @return {@link DataHolder.Builder} to continue construction.
*/
public Builder sort(String sortColumn) {
throw new RuntimeException("Not yet implemented");
}
/**
* Add a new row of data to the {@link DataHolder} this {@link DataHolder.Builder} will create. Note that the data must contain an entry for all columns
* <p/>
* Currently the only supported value types that are supported are String, Long, and Boolean (Integer is also accepted and will be stored as a Long).
*
* @param values {@link ContentValues} containing row data.
* @return {@link DataHolder.Builder} to continue construction.
*/
public Builder withRow(ContentValues values) {
HashMap<String, Object> row = new HashMap<String, Object>();
for (Map.Entry<String, Object> entry : values.valueSet()) {
row.put(entry.getKey(), entry.getValue());
}
return withRow(row);
}
View on GitHub (pinned to 157c9d86ac)
Solutions
- Avoid calling sort(column) on DataHolder.Builder
- Implement sorting by comparing row values with standard data-type comparators
- Sort the data before inserting it into the builder
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at play-services-base/src/main/java/com/google/android/gms/common/data/DataHolder.java:524 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microg/GmsCore@157c9d86ac (2026-09-06).
Data as JSON: /api/errors/7b860daf007b6abf.
Report an issue: GitHub.