Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Prevent NullPointerException #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DraftiestHat
Copy link

If you close a batch scanner twice, a NullPointerException happens since scannerId is set to null. Checking to see if the value is already null before trying to close it again prevents this.

If you close a batch scanner twice, a NullPointerException happens since scannerId is set to null. Checking to see if the value is already null before trying to close it again prevents this.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant