Skip to content
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

"java.lang.Long.longValue()" because the return value of "com.ce.ch.admin.model.BaseModel.getId()" is null #7

Open
Thecarisma opened this issue Aug 12, 2022 · 0 comments

Comments

@Thecarisma
Copy link
Member

This happens if the long type is Long instead of long and its value is null. Should check if the type is not primitive, if not primitive check if null before calling Value()

@Thecarisma Thecarisma changed the title "java.lang.Long.longValue()" because the return value of "com.cellulant.checkout.admin.model.BaseModel.getId()" is null "java.lang.Long.longValue()" because the return value of "com.ce.ch.admin.model.BaseModel.getId()" is null Jan 28, 2023
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

No branches or pull requests

1 participant