Titanium Community Questions & Answer Archive

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

Titanium shows login screen with an exception

Hi,

i've made a reinstall of MacOSX 10.6.5 and installed Titanium Developer 1.2.1. I'm behind a corporate proxy, so i uncomment the "If offline, don't attempt" block in the /Contents/Resources/js/index.js file. Furthermore, i set the http and https proxy in an environment.plist file in my home directory. After this, i can connect to the titanium network.

When i submit my email and pass data in the login form, titanium shows me the message "Processing request" and try to redirect me to the main window. After this, i see the login form again. This happens every time i try to login.

After some research in the titanium directory, i found in /Contents/Resources/perspectives/projects/js/ the projects.js file. On line 619 is something like this:

catch (e)
{
    Projects.showLogin(options)
}

In my case, when i try to login, an error is reported in the catch block. After inserting an alert, the following message appears:

Type Error: Result of expression TiDev.activePerspective.views[idx] [undefined] is not an object.

I decide to uncomment line 621 and after this, titanium shows me the main window and i'm able to use it.

Can someone tell me, why i'm getting this error?

Regards,
Stefan

— asked November 16th 2010 by Stefan B
  • error
  • form
  • login
  • type
1 Comment
  • This worked for me

    — commented December 22nd 2010 by Nick Leigh

0 Answers

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.