-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Stream app stopped working #21
Comments
Can you provide a stack trace or some more detailed debugging information to reproduce the issue? Is it an "Application Not Responding" error? |
I am attaching the stack trace. I get 'Force-Close' error. D/dalvikvm( 99): GC freed 32285 objects / 1846432 bytes in 379ms |
Interesting, it looks like the cached stream data is corrupted or incomplete. The easiest way to fix it might be to simply uninstall the app and reload it on the device / emulator, this will clear the cached data. However, before you do that, to find the root cause of the problem, could you do the following to help debug: add "Log.d("Cached Data", cached);" on line 56 of StreamHandler.java (immediately after "String cached = FileIO.read(getActivity(), CACHE_FILE);" ... then email me the cached data that it prints to the log? (ssoneff at facebook) Thanks for pointing this out. |
I emailed you the .apk. |
I have the same issue. |
hi soneff , But when I add the following code, I found the problem seems to be fixed. StreamRenderer.renderComment(StreamRenderer.java 488) if(from != null){ |
I had the same issue and daen's fix worked for the stream app for me as well! |
Ya, adding a null check will fix it, but it's not really a general solution (the data shouldn't have null values in the first place). If you could apply the logging trick I mentioned above (Log.d("Cached Data", cached); ... on line 56 of StreamHandler.java, right after reading the cached data) when you reproduce the issue, and can send the log to me, it would be helpful to fix this on the server and prevent the error. |
I was able to reproduce this and it is a server-side problem: I'll look into a quick fix or will patch the SDK with the null check. Thanks for your feedback. |
This should be fixed now. |
Update FB for iOS to 4.15.1
I tried relaunching the stream app on my HTC Hero running Android 2.1 and I now get 'Force-Close' error. I think that running both the Facebook HTC App with 'Account Sync' 'On' is causing this issue. I cannot replicate this emulator running 2.1. (Normally I would attach the logcat log but right now I have connectivity issues having it show up.
The text was updated successfully, but these errors were encountered: