-
Notifications
You must be signed in to change notification settings - Fork 126
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
NullPointerException in UpdateChecker #26
Comments
Thanks, I'll fix it soon, can you provide me the package name of the app where you get this error from? |
I've tested the true app. No bug found. |
Here is a typical crash report. The crash does only happen in a very few cases, it mostly works fine.
|
I will reintegrate the UpdateChecker library into my next app update. It might be the case that is crash was related to the two other bugs I reported. I will report back once I know how it goes. |
Thanks in advance.
|
I am stilling getting similar reports with your last update (albeit very few reports, from only two devices in total of several thousand). There is a big change that this is related to a device specific bug.
|
Seems that the String versionDownloadable is = null . But I can't understand how this could happen. |
The ACRA reports does not contain any user locations. Some of the phones were setup with French localization, other with German and a lot with English, so it seems like the error is not related to any specific language or location. Its not device specific either. I got bug reports from HTC, Samsung, Sony etc, using any Android version from 2.3 to 4.3. Anyway, the doInBackground() method does return |
Probably this is the bug. I've tested the library with a lot of apps before publish it, but I've never thought about the cases where |
Also, @bjorncs I advice to you to use more powerful Bug Tracking services like BugSense or Crashlytics, they provide so more detailed reports. |
Still crashes |
@WebnetMobile: Did you download the library from the bugfixing branch? |
@bjorncs branch you say? most likely i updated from |
I guess because the fix is not yet confirmed to work. He will probably merge to master once the fixes are known to work. |
Have you tested the |
I will hopefully have time to push an update of my app with the bug fixes during this week. I will let you know once I know for sure the fix is working. |
Thanks. Sorry for the inconvenience. |
The fixed was not working correctly. ERROR was returned if the first line was not containing the version name (which is never the case). Check my pull request here with proper fix: e16bd99 |
I have received several reports about NullPointerException in the method containsNumber(String) in the UpdateChecker class.
The text was updated successfully, but these errors were encountered: