Skip to content

Add a judgment in order to avoid occur NPE when one value of measurementSchemas is null #15574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 26, 2025

Conversation

zerolbsony
Copy link
Contributor

Add a judgment in order to avoid occur NPE when it's value is null for measurementSchemas.

NullPointerException: Cannot invoke "org.apache.iotdb.db.pipe.resource.memory.InsertNodeMemoryEstimator.sizeOfValues(Object[], MeasurementSchema[])" because "measurementSchemas[i]" is null

related pull request: #15532

Copy link
Contributor

@HTHou HTHou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is another NPE needs to fix.
image

@HTHou HTHou merged commit f82390a into apache:master May 26, 2025
51 checks passed
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.

2 participants