{"record":{"id":"4ae1fcd2ed351c5d","repo":"apache/maven","slug":"unrecognized-entry","errorCode":null,"errorMessage":"Unrecognized entry: {}","messagePattern":"Unrecognized entry: (.+?)","errorType":"exception","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java","lineNumber":177,"sourceCode":"        String relocationsEntries = (String) session.getConfigProperties().get(CONFIG_PROP_RELOCATIONS_ENTRIES);\n        if (relocationsEntries == null) {\n            return null;\n        }\n        String[] entries = relocationsEntries.split(\",\");\n        try (Stream<String> lines = Arrays.stream(entries)) {\n            List<Relocation> relocationList = lines.filter(\n                            l -> l != null && !l.trim().isEmpty())\n                    .map(l -> {\n                        boolean global;\n                        String splitExpr;\n                        if (l.contains(\">>\")) {\n                            global = true;\n                            splitExpr = \">>\";\n                        } else if (l.contains(\">\")) {\n                            global = false;\n                            splitExpr = \">\";\n                        } else {\n                            throw new IllegalArgumentException(\"Unrecognized entry: \" + l);\n                        }\n                        String[] parts = l.split(splitExpr);\n                        if (parts.length < 1) {\n                            throw new IllegalArgumentException(\"Unrecognized entry: \" + l);\n                        }\n                        Artifact s = parseArtifact(parts[0]);\n                        Artifact t;\n                        if (parts.length > 1) {\n                            t = parseArtifact(parts[1]);\n                        } else {\n                            t = SENTINEL;\n                        }\n                        return new Relocation(global, s, t);\n                    })\n                    .collect(Collectors.toList());\n            LOGGER.info(\"Parsed {} user relocations\", relocationList.size());\n            return new Relocations(relocationList);\n        }","sourceCodeStart":159,"sourceCodeEnd":195,"githubUrl":"https://github.com/apache/maven/blob/e4093d4e120eac99d6bdce5ba67cace2f3085c97/compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java#L159-L195","documentation":"Error \"Unrecognized entry: {}\" thrown in apache/maven.","triggerScenarios":"Thrown at compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java:177 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e4093d4e120eac99d6bdce5ba67cace2f3085c97","analyzedAt":"2026-08-21T22:58:24.034Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}