Skip to content

Fix NPE in LineInfoCollector#706

Open
vpaturet wants to merge 1 commit into
mainfrom
fix_npe_in_line_info_collector
Open

Fix NPE in LineInfoCollector#706
vpaturet wants to merge 1 commit into
mainfrom
fix_npe_in_line_info_collector

Conversation

@vpaturet

@vpaturet vpaturet commented May 14, 2025

Copy link
Copy Markdown
Collaborator

The LineInfo collector fails when parsing a FlexibleLine if its type is not "fixed". This PR fixes this.
The original implementation attempted to exclude non-fixed flexible lines, but there does not seem to be a reason why the LineInfoCollector could not collect data from all types of lines.

@vpaturet
vpaturet requested a review from erlendev May 15, 2025 11:49
@vpaturet
vpaturet force-pushed the fix_npe_in_line_info_collector branch 2 times, most recently from 2dbc857 to 2cb5dac Compare July 16, 2025 10:38
@vpaturet
vpaturet force-pushed the fix_npe_in_line_info_collector branch from 2cb5dac to 0e9ea37 Compare July 16, 2025 10:53
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant