Page 1 of 1
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Tue Jan 29, 2013 5:50 am
by Lee Jose
Uncaught TypeError: Cannot read property '0' of undefined
below are the details of the error:
Tiggzi.RenderVisitor.$t.createClass.getDataByPath tiggzi.js:609
Tiggzi.RenderVisitor.$t.createClass.visitEntry tiggzi.js:898
Tiggzi.MappingVisitor.$t.createClass.visitMapping tiggzi.js:521
Tiggzi.MappingVisitor.$t.createClass.visitMappingsArray tiggzi.js:547
Tiggzi.MappingVisitor.$t.createClass.visit tiggzi.js:560
Tiggzi.DataSource.$t.createClass.updateComponents tiggzi.js:1196
Tiggzi.DataSource.$t.createClass.successHandler tiggzi.js:1205
Tiggzi.DataSource.$t.createClass.__responseDataHandler tiggzi.js:1227
proxy jquery-1.8.2.js:775
fire jquery-1.8.2.js:974
self.fireWith jquery-1.8.2.js:1082
done jquery-1.8.2.js:7788
callback jquery-1.8.2.js:8500
I found this error while running it in the browser to test:
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Tue Jan 29, 2013 6:13 am
by maxkatz
Any specific page or action you invoke when this happens?
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Tue Jan 29, 2013 6:58 am
by Lee Jose
This happens after a service has been invoked on page load.
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Tue Jan 29, 2013 12:08 pm
by Maryna Brodina
Hello! Could you send us your app link so we can test it (make it public before)
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Wed Jan 30, 2013 8:19 am
by Lee Jose
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Wed Jan 30, 2013 9:37 am
by Maryna Brodina
Thank you! Could you clarify please what service on what screen is caused this problem? Also what login/password do you use to test or it's possible to reproduce your problem with any login/password?
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Wed Jan 30, 2013 9:49 am
by Lee Jose
You can just click on the login button for faster testing. You can click on the top image, labeled UCC Christmas . . . and it will take you to the page that triggers the error.
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Wed Jan 30, 2013 11:44 am
by Maryna Brodina
On screen raffle there is a service raffleViewService. On Request mapping you have JS
var ret = parseInt(localStorage.getItem("selectedRaffleId"));
return ret;
But in localStorage variable selectedRaffleId is empty, that's why you get empty response and error.
Uncaught TypeError: Cannot read property '0' of undefined
Posted: Wed Jan 30, 2013 1:04 pm
by Lee Jose
Thanks Marina, I'm receiving no errors now.