View Full Version : error that doesnt tell where the error is!
i'm going insane, i am getting an error but it doesnt tell me where inside my project is the error.. so i have no idea where i did something wrong! it's impossible for me to know where to look to fix it!
If anyone has any idea what's wrong, please tell me (im attaching a screenshot of the error)
thanks.
Peter Cowling
11-11-2009, 11:15 AM
So you need to find the point at which the error start i.e. what did you differently, and regress through these changes.
The only other thing to add is that the attached screenshot indicates the error occurs when flex tries to measure and then layout a canvas container. So consider if you changed anything that might cause a problem.
Barna Biro
11-11-2009, 07:40 PM
Yeah, the error occurs in the measureContentArea method of the CanvasLayout. Maybe you are setting a property that is not yet applied at the moment when measureContentArea is called. I'm assuming you have overridden a few method, I'd start to look there. I'm not 100% sure but if I'm not mistaking then launching the project in Debug mode should automatically jump to the error location ( there, you can check properties and so on... also, you can use F7 to one level up and if you are lucky, then you could even reach the component that is causing all the trouble ).
suchislife801
11-12-2009, 06:14 AM
Use a try catch block to display the actual error to you.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.