{"record":{"id":"7b860daf007b6abf","repo":"microg/GmsCore","slug":"not-yet-implemented","errorCode":null,"errorMessage":"Not yet implemented","messagePattern":"Not yet implemented","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"play-services-base/src/main/java/com/google/android/gms/common/data/DataHolder.java","lineNumber":524,"sourceCode":"        }\n\n        /**\n         * @return The number of rows that the resulting DataHolder will contain.\n         */\n        public int getCount() {\n            return rows.size();\n        }\n\n        /**\n         * Sort the rows in this builder based on the standard data type comparisons for the value in the provided column.\n         * Calling this multiple times with the same column will not change the sort order of the builder.\n         * Note that any data which is added after this call will not be sorted.\n         *\n         * @param sortColumn The column to sort the rows in this builder by.\n         * @return {@link DataHolder.Builder} to continue construction.\n         */\n        public Builder sort(String sortColumn) {\n            throw new RuntimeException(\"Not yet implemented\");\n        }\n\n        /**\n         * 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\n         * <p/>\n         * 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).\n         *\n         * @param values {@link ContentValues} containing row data.\n         * @return {@link DataHolder.Builder} to continue construction.\n         */\n        public Builder withRow(ContentValues values) {\n            HashMap<String, Object> row = new HashMap<String, Object>();\n            for (Map.Entry<String, Object> entry : values.valueSet()) {\n                row.put(entry.getKey(), entry.getValue());\n            }\n            return withRow(row);\n        }\n","sourceCodeStart":506,"sourceCodeEnd":542,"githubUrl":"https://github.com/microg/GmsCore/blob/157c9d86ac46c195a86c2f15ab55c84036223f95/play-services-base/src/main/java/com/google/android/gms/common/data/DataHolder.java#L506-L542","documentation":"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.","triggerScenarios":"Thrown at play-services-base/src/main/java/com/google/android/gms/common/data/DataHolder.java:524 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"157c9d86ac46c195a86c2f15ab55c84036223f95","analyzedAt":"2026-09-06T17:27:33.892Z","contentChangedAt":"2026-09-06T17:27:33.892Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}