-
Notifications
You must be signed in to change notification settings - Fork 800
Open
Labels
Type/BugneedTriageThe issue has to be inspected and labeled manuallyThe issue has to be inspected and labeled manuallyuserCategory/Compilation
Description
Description
When I execting bal run in a non-ballerina project, I got the following Bad Sad error
ballerina: Oh no, something really went wrong. Bad. Sad.
We appreciate it if you can report the code that broke Ballerina in
https://github.com/ballerina-platform/ballerina-lang/issues with the
log you get below and your sample code.
We thank you for helping make us better.
[2025-11-21 14:36:23,903] SEVERE {b7a.log.crash} - invalid bala file: /Users/admin/Desktop/ai-account-troubleshooting-agent/chat
io.ballerina.projects.exceptions.InvalidBalaException: invalid bala file: /Users/admin/Desktop/ai-account-troubleshooting-agent/chat
at io.ballerina.projects.internal.ProjectFiles.validateBalaProjectPath(ProjectFiles.java:425)
at io.ballerina.projects.internal.PackageConfigCreator.createBalaProjectConfig(PackageConfigCreator.java:120)
at io.ballerina.projects.directory.BalaProject.load(BalaProject.java:53)
at io.ballerina.projects.directory.ProjectLoader.load(ProjectLoader.java:79)
at io.ballerina.projects.directory.ProjectLoader.load(ProjectLoader.java:49)
at io.ballerina.cli.cmd.RunCommand.execute(RunCommand.java:263)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at io.ballerina.cli.launcher.Main.main(Main.java:75)
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
Metadata
Metadata
Assignees
Labels
Type/BugneedTriageThe issue has to be inspected and labeled manuallyThe issue has to be inspected and labeled manuallyuserCategory/Compilation