Page 1 of 2

Component Not Found Error

Posted: Thu Jan 22, 2015 6:16 pm
by Marco Spera

Hi,

My app begins with a login page that does not seem to be working anymore and now gives me the error message below:

Error: c15r: component not found {stack: (...), message: "c15r: component not found"}

No changes were made to the app and this has just started.
Any ideas why this error is happening?

Thanks


Component Not Found Error

Posted: Thu Jan 22, 2015 9:18 pm
by Evgene Karachevtsev

Hello Marco,

Could you please send us a screenshot of this error?


Component Not Found Error

Posted: Fri Jan 23, 2015 8:04 pm
by Marco Spera

Here is a screenshot.

Image


Component Not Found Error

Posted: Mon Jan 26, 2015 9:39 am
by Maryna Brodina

Hello!

Looks like something is wrong with a screenshot. Could you attach it again?


Component Not Found Error

Posted: Mon Jan 26, 2015 4:14 pm
by Marco Spera

Here it is again. Hopefully it will upload properly this time.

Image


Component Not Found Error

Posted: Wed Jan 28, 2015 7:41 am
by Evgene Karachevtsev

Hello Marco,

Could you please share your project with support, tell us its name and steps to reproduce?


Component Not Found Error

Posted: Tue Feb 03, 2015 1:30 pm
by Marco Spera

I have shared my app with appery support.

It is titled 17weeks.

You simply need to attempt to login at the main page. The error seems to happen not the first time you click login, but the second.

You can login with username: test and password: test


Component Not Found Error

Posted: Tue Feb 03, 2015 1:50 pm
by Evgene Karachevtsev

Hello Marco,

Seems that this is a bug. We'll investigate it and will get back to you with the update.


Component Not Found Error

Posted: Tue Feb 03, 2015 5:40 pm
by Marco Spera

Thanks Evgene, I look forward to hearing back from you on this.


Component Not Found Error

Posted: Thu Feb 05, 2015 2:05 pm
by Evgene Karachevtsev

Hello Marco,

We have the update from our development team. This is not a bug. After first click login_service is executed, "success" event is fired and loading of second page begins, but only till executing this custom JS code:
codenavigator.notification.alert(...)/code
This is the reason of first error: "Cannot read property 'alert' of undefined"
This error interrupts loading of the second page so we still can see the first one, but a context for searching elements during mapping was changed. Thus, after the second click when login_service is executed again, "password" and "login" inputs can't be found in the new context.
ThiIs won't happen if you run installed app on device or if you use'll use a simple codealert()/code instead of codenavigator.notification.alert(...)/code.