-
Notifications
You must be signed in to change notification settings - Fork 549
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
NetworkInfoReceiver.isNetworkConnected() on a null object reference #117
Comments
So unstable network only? Investigating. |
Correct. I have been hit again by the same crash message this morning under shaky cellular network. The same program running on other three devices under WiFi network performed like a champion. TransferUtility does a very good job to resubmit workload that fails under offline status, when the network comes back online. However, I do notice that sometimes the online/offline event broadcast by the Android OS isn't very reliable under shaky cellular network. I am not sure if this observation is relevant here or not. |
Hi, I don't know if this fact helps or not. But under the SDK 2.2.13, the program has been running close to 24hrs without being hit by the same error message. I am not sure if the cellular signal strength has improved or not since the replacement of 2.2.14, which I doubt, and the same smart phone has been placed at the same location for testing. I will let you know if it is hit by the error again. Thanks. |
@dsuyang working on it. Please use v2.2.13 at the moment. |
Thank you. Yes, I ran 2.2.13 close to 72hrs without any glitch. |
Hi, I'm also experiencing the same issue. Only in my case it happens when transfer utility service trying to restart itself after deep sleep. Glad I found this thread. I will use v2.2.13 for now. Thanks a lot for opening this thread @dsuyang ! |
Hmmm... I am not sure any more if it is safe to use v2.2.13, because my app has been hit by the error multiple times yesterday even under 2.2.13. |
I have the exact same problem when I try to upload an image to an s3 bucket. Sometimes (apparently in a random interval) this problem occurs. I'll try to use the 2.2.13 |
Same issue here. Actually seems to be related to the Transfer Utility not initialising fully by the time i attempt to upload an image. I.e if i open the app, then quickly move to uploading an image, unless i wait a few seconds, it'll crash with the above |
The workaround that i posted here seems to work for me: http://stackoverflow.com/questions/36587511/android-amazon-s3-uploading-crash/36710233#36710233 Essentially this:
in your application's |
That's actually what I'm already doing, does not seem to have improved an already occasional crash however
|
It has completely fixed the crash for us at Flipagram. We deployed it with
|
This is fixed in v2.2.15. See release notes. |
Thank you! Gonna try it out this evening. |
Hi, I am not entirely sure if this problem is in the SDK or my code? I upgraded to 2.2.14.
Could you help make a judgement?
I do want to point out though this problem doesn't occur under stable WiFi network (I have already tested it under WiFi for more than 24 hrs taking tens of thousands photos without glitch).
It happens frequently under 4G network (the single is weak, on and off from time to time). The crash hit me at least four times over the past 24hrs.
Thank you!
The text was updated successfully, but these errors were encountered: