PDA

View Full Version : Where to begin debugging 'undefined:0 TypeError: 'undefined' is not an object'



29er
8 Feb 2012, 10:29 AM
HI,

I am getting these errors when trying to build using the ST2 tools.
'undefined:0 TypeError: 'undefined' is not an object'.

I don't even know where to start trying to debug which classes, etc. that the tool can't find.
can someone tell me how to even start debugging the issue ?
Thanks

mitchellsimoens
8 Feb 2012, 12:28 PM
Sounds like it can't find the class name or xtype.

29er
8 Feb 2012, 9:29 PM
thx, yea well that's my problem, it doesn't tell me which classes are missing ??!
are there steps you can take to narrow down what is missing ?
thanks

dsac
9 Feb 2012, 3:32 AM
having the exact same issue and no clue how to debug.

I had to use the newest phantomjs binary, because of an awkward "bad cpu type in executable" error with the old one

edit:
tried generating the jsb3 file for kitchensink with pr4 and beta2 ... both failed with the same 'undefined:0 TypeError: 'undefined' is not an object'-error

any idea?