Skip to content

Conversation

@siva-sai-udaygiri
Copy link

Fix NPE/IllegalArgumentException in LoanProductDataValidator when loanScheduleType is null/blank/invalid.

Instead of calling LoanScheduleType.valueOf(...) directly, this adds a guard + safe parsing and then reuses the parsed enum for the remaining checks.

Tested: ./gradlew :fineract-provider:resolve (local)

@siva-sai-udaygiri
Copy link
Author

@adamsaghy I recreated the PR from a clean branch and the conflicts are gone now. Could you please take another look when you have a moment?

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