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-E1065) Private field is never initialized #2714

Closed
yurake opened this issue Oct 6, 2022 · 0 comments · Fixed by #2715
Closed

(JAVA-E1065) Private field is never initialized #2714

yurake opened this issue Oct 6, 2022 · 0 comments · Fixed by #2715
Labels
java Pull requests that update Java code

Comments

@yurake
Copy link
Owner

yurake commented Oct 6, 2022

Description

This private field is never initialized before use. This may cause improper behavior at runtime, or even a NullPointerException. Check if the logic that uses the field is correct; add an initializer to the declaration or initialize the field at an appropriate point before use.

Occurrences

There are 4 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/yurake/k8s-3tier-webapp/issue/JAVA-E1065/occurrences/

@issuelabeler issuelabeler bot added the java Pull requests that update Java code label Oct 6, 2022
@yurake yurake linked a pull request Oct 6, 2022 that will close this issue
@github-actions github-actions bot added this to To do in Feature request Oct 6, 2022
yurake added a commit that referenced this issue Oct 6, 2022
…-never-initialized

fix Private field is never initialized #2714
Feature request automation moved this from To do to Done Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
Development

Successfully merging a pull request may close this issue.

1 participant