Lee Jose
Posts: 0
Joined: Thu Jan 24, 2013 7:41 am

Uncaught TypeError: Cannot read property '0' of undefined

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:

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Uncaught TypeError: Cannot read property '0' of undefined

Any specific page or action you invoke when this happens?

Lee Jose
Posts: 0
Joined: Thu Jan 24, 2013 7:41 am

Uncaught TypeError: Cannot read property '0' of undefined

This happens after a service has been invoked on page load.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot read property '0' of undefined

Hello! Could you send us your app link so we can test it (make it public before)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot read property '0' of undefined

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?

Lee Jose
Posts: 0
Joined: Thu Jan 24, 2013 7:41 am

Uncaught TypeError: Cannot read property '0' of undefined

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot read property '0' of undefined

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.

Lee Jose
Posts: 0
Joined: Thu Jan 24, 2013 7:41 am

Uncaught TypeError: Cannot read property '0' of undefined

Thanks Marina, I'm receiving no errors now.

Return to “Issues”