Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked September 28th 2010 by Dave F
  • activity
  • indicator
  • iphone
0 Comments

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.

    — answered September 30th 2010 by Carmen Wick
    permalink
    1 Comment
    • I AGREE THIS IS A PROBLEM:

      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.

      — commented October 30th 2010 by Jason Heidecker
  • Seeing the activity indicator issue as well.

    — answered October 1st 2010 by Alan McConnell
    permalink
    0 Comments
  • 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.

    — answered November 1st 2010 by Sebastian
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.