Bob Fludder
Posts: 0
Joined: Fri Sep 14, 2012 1:09 am

Uncaught Error: c15r: component not found

Hi. Everything was working fine (I think) about 4 hours ago and now I'm getting an error showing on the console saying "Uncaught Error: c15r: component not found". Any idea what this may be or how to find what's missing ? I'm using V3 of the libraries. Tried clearing the browser cache.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Uncaught Error: c15r: component not found

Hello Bob,

This error fires if you use navigate to before service's success/complete events. Please be sure a navigation happens the last.

Bob Fludder
Posts: 0
Joined: Fri Sep 14, 2012 1:09 am

Uncaught Error: c15r: component not found

I'm doing a navigate to and then running a custom service on page show to populate the contents of the page. Is that the wrong way ? Just to add. I've tried it without the service running. Don't get the error but the page header and footer don't display.

Bob Fludder
Posts: 0
Joined: Fri Sep 14, 2012 1:09 am

Uncaught Error: c15r: component not found

Well I think its fixed. I duplicated the page and changed the navigate to go to the duplicated one. Program worked so I then deleted the original page and renamed the one I duplicated. Program failed again with the "component not found" error. So I again duplicated the page, renamed it to get rid of the "clone_1" bit, changed the navigate to to point to the new one and deleted the old one. Program working... Must be something corrupt somewhere to do with the original page name. So long as the page is different it's fine. Go figure...

mansour
Posts: 0
Joined: Wed May 25, 2016 4:40 pm

Uncaught Error: c15r: component not found

Dear Sergiy,
i am having exactly the same error. and you explained the issue perfectly.
you said:
"This error fires if you use navigate to before service's success/complete events. Please be sure a navigation happens the last."

and this is what happening in my case. while the service in process, the user will click on navigation. then this problem appear. "Uncaught Error: c15r: component not found"

you mentioned as a solution:
"Please be sure a navigation happens the last"

my question: how to make sure that the user will not click on navigation if the service is in process?

mansour
Posts: 0
Joined: Wed May 25, 2016 4:40 pm

Uncaught Error: c15r: component not found

emThis reply was created from a merged topic originally titled navigate to before service's success/complete./em

i referring to this post

https://getsatisfaction.com/apperyio/...

Sergiy was suggesting a solution and i am looking for clarification. i posting it in a new thread as i dont see any response on that thread

------------My question------------------------------

i am having exactly the same error. and you explained the issue perfectly.
you said:
"This error fires if you use navigate to before service's success/complete events. Please be sure a navigation happens the last."

and this is what happening in my case. while the service in process, the user will click on navigation. then this problem appear. "Uncaught Error: c15r: component not found"

you mentioned as a solution:
"Please be sure a navigation happens the last"

my question: how to make sure that the user will not click on navigation if the service is in process?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Uncaught Error: c15r: component not found

You are able to control order of these actions (service execution, navigation to another page, etc.) with Appery.io Visual Editor.

In you case, if user clicks on the "go to nex page" button and gets that error before previous service is complete - you can ignore that error, because it is related to the previous page which is not necessary for the current user

mansour
Posts: 0
Joined: Wed May 25, 2016 4:40 pm

Uncaught Error: c15r: component not found

Thanks Sergiy.
you said: " because it is related to the previous page which is not necessary for the current user"

it is true, but actually i am getting the error and when the user click back button, he come back to the page and since there was an error. it will give a empty page

i just thought of a solution which is to catch this error and refresh the page. what do you think?

mansour
Posts: 0
Joined: Wed May 25, 2016 4:40 pm

Uncaught Error: c15r: component not found

Dear Sergiy
I could not catch the problem, why?

if you can see in this picture Image

i have put a simple script in error to show that the error is cached
.

even though, the error was not cached as this console log shows

Image

can you please explaining why the error is not catched?

Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Uncaught Error: c15r: component not found

This is not a server error, so that event ("error") is not fired. You don't need to refresh a page manually. Please use page show event instead of load event, in that case your service WhatSayService will run each time user opens the page

Return to “Issues”