[Bug]: bal pack
crashes when [[dependency]]
section is missing in the CompilerPlugin.toml file
#41418
Labels
Credits/20
Hacktoberfest
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/DevTools
Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )
Type/Bug
Description
$Subject
When a Ballerina project has
CompilerPlugin.toml
file with no[[dependency]]
sections specified, executingbal pack
gives the following crash log:Steps to Reproduce
Add an empty
CompilerPlugin.toml
file or with only[plugin]
section to a Ballerina project.CompilerPlugin.toml
Affected Version(s)
ballerina-lang master, update-8 RC1
NPE observed with earlier versions when an empty
CompilerPlugin.toml
file added.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
The text was updated successfully, but these errors were encountered: