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

Fix: Fixed a bug which causes NullPointerException by calling Thread.getState() #42

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

Conversation

muhammad-farhan-bakht
Copy link

@muhammad-farhan-bakht muhammad-farhan-bakht commented Feb 8, 2021

Fixed an Issue #40 which causes "java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Thread$State java.lang.Thread.getState()' on a null object reference" by removing debug code on Production level.

Caused by we are setting the null value in mProcessingThread in stop() function and then we call release() Function which asserts that mProcessingThread is in TERMINATED state which causes the Bug because mProcessingThread is null at that time.

…getState()

Fixed Issue ravi8x#40 which causes "java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Thread$State java.lang.Thread.getState()' on a null object reference" by calling debug code on Production level.
@muhammad-farhan-bakht
Copy link
Author

muhammad-farhan-bakht commented Feb 8, 2021

When will this be released? or How can I get this fix Please

There is a temporary fix in this issue #40 Please Check.

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