{"record":{"id":"3deda9d9260bb8c5","repo":"quarkusio/quarkus","slug":"failed-to-load-current-project-at","errorCode":null,"errorMessage":"Failed to load current project at ","messagePattern":"Failed to load current project at ","errorType":"exception","errorClass":"BootstrapMavenException","httpStatus":null,"severity":"error","filePath":"independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/BootstrapMavenContext.java","lineNumber":396,"sourceCode":"    public String getLocalRepo() throws BootstrapMavenException {\n        return localRepo == null ? localRepo = resolveLocalRepo(getEffectiveSettings()) : localRepo;\n    }\n\n    private String[] getLocalRepoTail() {\n        return localRepoTail == null ? localRepoTail = resolveLocalRepoTail() : localRepoTail;\n    }\n\n    private boolean getLocalRepoTailIgnoreAvailability() {\n        return localRepoTailIgnoreAvailability == null\n                ? localRepoTailIgnoreAvailability = resolveLocalRepoTailIgnoreAvailability()\n                : localRepoTailIgnoreAvailability;\n    }\n\n    private LocalProject resolveCurrentProject(List<WorkspaceModulePom> providedModules) throws BootstrapMavenException {\n        try {\n            return LocalProject.loadWorkspace(this, providedModules);\n        } catch (Exception e) {\n            throw new BootstrapMavenException(\"Failed to load current project at \" + getCurrentProjectPomOrNull(), e);\n        }\n    }\n\n    private String resolveLocalRepo(Settings settings) {\n        String localRepo = System.getenv(\"QUARKUS_LOCAL_REPO\");\n        if (localRepo != null) {\n            return localRepo;\n        }\n        localRepo = getProperty(\"maven.repo.local\");\n        if (localRepo != null) {\n            return localRepo;\n        }\n        localRepo = settings.getLocalRepository();\n        return localRepo == null ? new File(getUserMavenConfigurationHome(), \"repository\").getAbsolutePath() : localRepo;\n    }\n\n    private String[] resolveLocalRepoTail() {\n        final String localRepoTail = getProperty(\"maven.repo.local.tail\");","sourceCodeStart":378,"sourceCodeEnd":414,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/BootstrapMavenContext.java#L378-L414","documentation":"BootstrapMavenException from resolveCurrentProject in the bootstrap Maven context: the current project's pom.xml could not be loaded/parsed (missing file, unreadable, or invalid XML). The path that failed to load is appended to the message.","triggerScenarios":"Thrown at independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/BootstrapMavenContext.java:396 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the pom.xml path passed to the bootstrap context exists and is readable","Fix XML syntax errors in the pom reported by the caused-by exception","Ensure the current project GAV can be resolved from the pom"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-12T22:17:10.623Z"}