Closed ThaminduDilshan closed 4 months ago
Duplicate of https://github.com/ballerina-platform/ballerina-library/issues/4656. Hence closing
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.
- Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
- Reason/Regression - The issue has introduced a regression.
- Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
- Reason/Complex - Issue occurred due to complex scenario.
- Reason/Invalid - Issue is invalid.
- Reason/Other - None of the above cases.
Description:
If there are errors in a gRPC proto file and we try to build the descriptor, it gives a build error with the following stack trace. However the error itself is not descriptive enough to narrow down the root cause.
Steps to reproduce:
Create a proto file with the following content.
Generate the proto descriptor.
bal grpc --input test.proto --output stubs
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):