Titanium Community Questions & Answer Archive

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

Various non-critical but recurring errors in logcat

The following messages, each with the "error" classification, appear frequently in logcat when my app is running. Can anyone tell me what they mean, and if there is something I can do to fix them?

TiContext  E  (main) [12,13] BaseURL for context is null
TiContext  E  (main) [138,2670] BaseURL for context is app://
ROOT  E  (main) [89,394] Leaving TiRootActivity.onCreate
TiApplication  E  (kroll$1) [3,1475] APP PROXY: ti.modules.titanium.app.AppModule@44f8c668
ROOT  E  (main) [27,1222] Leaving TiRootActivity.onCreate
TiUIWindow  W  (main) [20,130418] Received Activity creation message
TiActivity  E  (main) [482,1411793] Layout cleanup

Don Thorp has already explained the following to me:
TiUIView E (main) [53,130864] TAP, TAP, TAP

saying that it's currently logged as error so they can see it easily when using Eclipse or DDMS. There is no other way to set different colors on the messages to make them jump out other than to use a higher level.

My personal opinion is that logging levels should not really be used for that. For instance, I use errors in the log to spot things that are either not working or should be coded in a better way that would also avoid the error.

Anyway, I'd appreciate any input to help me to better understand the above errors.

Thanks in advance

— asked September 6th 2010 by Paul Dowsett
  • android
  • emulator

2 Answers

  • Accepted Answer

    They all fall into the same boat. We'll try and go through before 1.5 and get items logged at the appropriate level unless ti.android.debug is true. Sorry for the confusion.

    — answered September 6th 2010 by Don Thorp
    1 Comment
    • OK, Don, that sounds good. Thank you for your response.

      — commented September 6th 2010 by Paul Dowsett
  • Ok - just to be on the same page, we're getting

     ERROR/TiBaseActivity(528): (main) [12709,2423263] Layout cleanup.

    everytime we press the android 'back' button in our app - does that mean maybe it's not actually an error, but just something Titanium currently uses internally for error logging?

    — answered October 7th 2011 by Anthony Hsio
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.