{"record":{"id":"088f65d503c653ae","repo":"floci-io/floci","slug":"applicationdoesnotexistexception","errorCode":"ApplicationDoesNotExistException","errorMessage":"Application does not exist:  \" + name","messagePattern":"Application does not exist:  \" \\+ name","errorType":"exception","errorClass":"AwsException","httpStatus":400,"severity":"error","filePath":"src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java","lineNumber":334,"sourceCode":"        app.setApplicationId(UUID.randomUUID().toString());\n        app.setApplicationName(name);\n        app.setCreateTime(Instant.now().toEpochMilli() / 1000.0);\n        app.setLinkedToGitHub(false);\n        app.setComputePlatform(computePlatform != null ? computePlatform : \"Server\");\n        store.put(name, app);\n        persistRegion(applications, region);\n\n        if (tags != null && !tags.isEmpty()) {\n            String arn = applicationArn(region, name);\n            applyTags(arn, tags);\n        }\n        return app;\n    }\n\n    public Application getApplication(String region, String name) {\n        Application app = applicationsFor(region).get(name);\n        if (app == null) {\n            throw new AwsException(\"ApplicationDoesNotExistException\",\n                    \"Application does not exist: \" + name, 400);\n        }\n        return app;\n    }\n\n    public void updateApplication(String region, String currentName, String newName) {\n        Map<String, Application> store = applicationsFor(region);\n        Application app = store.get(currentName);\n        if (app == null) {\n            throw new AwsException(\"ApplicationDoesNotExistException\",\n                    \"Application does not exist: \" + currentName, 400);\n        }\n        if (newName != null && !newName.equals(currentName)) {\n            if (store.containsKey(newName)) {\n                throw new AwsException(\"ApplicationAlreadyExistsException\",\n                        \"Application already exists: \" + newName, 400);\n            }\n            store.remove(currentName);","sourceCodeStart":316,"sourceCodeEnd":352,"githubUrl":"https://github.com/floci-io/floci/blob/62ff490619e7bd3554597c28c704081b4c15add5/src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java#L316-L352","documentation":"Error \"Application does not exist:  \" + name\" thrown in floci-io/floci.","triggerScenarios":"Thrown at src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:334 when the library encounters an invalid state.","commonSituations":"Occurs when referencing a CodeDeploy application that does not exist. Create the application first or correct the application name.","solutions":["Verify the application name; create the application before referencing it."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"62ff490619e7bd3554597c28c704081b4c15add5","analyzedAt":"2026-08-14T14:25:23.764Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}