iPhones Activity Indicator continues after load
I got a whole bunch of weirdness going on all of a sudden:
I was using 1.4.1.1 but then took a shot at jumping up to 1.4.2 (latest build) to try and resolve the issue of the compile errors about missing system images.
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
I'm not sure what happened b/c all was working well earlier tonight. Now all of a sudden I realized that the little indicator in the status bar persists after the load is completed. I am positive this wasn't happening before. Has anyone seen this happening? Is it perhaps the build I'm using.
Then I tried to go back down to 1.4.1.1 (doing usualy delete contents of build/iphone folder and restarted) which was working great prior to 1.4.2 and now I'm getting these weird "not an object errors".. what did I do here?
[WARN] Exception in event callback. {
expressionBeginOffset = 7195;
expressionCaretOffset = 7203;
expressionEndOffset = 7210;
line = 259;
message = "Result of expression 'itemList' [null] is not an object.";
name = TypeError;
sourceId = 247910592;
sourceURL = "file://localhost/........results_custom.js";
}
Then I clicked on another tab that was working great moments ago and got this error:
[ERROR] Script Error = Result of expression 'data' [null] is not an object. at savedSearches.js (line 74).
Any help is appreciated.
3 Answers
-
I ran into similar problems with the latest nightly build. First, whenever you make an HTTP request with Titanium.Network.HTTPClient, an activity indicator is displayed on the iPhone's status bar that never goes away until you press the Home button to leave the application.
Second, I get those "attempt to call a symbol" warnings you were describing. Those warnings started happening as soon as I upgraded to iOS SDK 4.1. The status bar problem only started happening with the nightly builds.
You can solve the first problem by downgrading to Titanium SDK 1.4.1.1. I don't have a solution for the second problem.
-
Seeing the activity indicator issue as well.
-
Yes, downgrading to 1.4.1.1 helps to avoid the endless spinning indicator but brings back the issue of failing push registrations. So I just have to sit and wait until that annoying spinning indicator bug is fixed.
I added a Lighthouse ticket and hope that the bug is fixed soon.