-
Notifications
You must be signed in to change notification settings - Fork 834
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
Null Pointer exception after executing regionBootstrap.disable() [Randomly] #140
Comments
Do you have a stack trace? Which library version is this? |
The stack trace is And I am compiling the latest source code from trunk. |
Hi David, I posted the stack trace on the issue did you see it? BR,
|
@jayshildave, yes I saw the stack trace. I put in a fix in commit 0f7d5b7. See #146 |
Null pointer exception is randomly raised after executing stop ranging (possibly after stop monitoring as well) when using the latest altBeacon trunk source code from Github 2.1.4
Its in link with issue #25 where it was being crashed in the same method.
Now the crash is on line no. 391 in method processBeaconFromScan from the asynctask.
The null pointer happens while reading state inside monitoredRegionState.
Currently we are synchronising reading rangedRegionState but monitoredRegionState is not given the same safeguard for multiple threaded operations.
The text was updated successfully, but these errors were encountered: