Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Funny Errors Reported By Customer(s)
Tue, Oct 18 2016 12:13 PMPermanent Link

Mark Brooks



Tim / Other EWB2 Users

I have a couple of users who have reported something "strange" in my apps under a very specific scenario. The issue reported results in an exception stating "Cannot read property 'XYZ' of undefined" where 'XZY" is typically a form name.

They repeat this issue as follows:

- Fire up my app in a browser tab in Google Chrome
- Fire up another website in another tab
- Return to my app and refresh it
- Whilst my app is loading, revert to the other open tab
- Finally, revert back to my app

MOST of the time this causes the exception, but not always. It's definitely timing-dependant?

It's as though something screws-up the app loading sequence when you change to another browser tab mid-load?

Any ideas?

Wed, Oct 19 2016 4:34 AMPermanent Link

Matthew Jones

Mark Brooks wrote:

> They repeat this issue as follows:

Can you repeat it that way? If so, keep the developer tab open and see where the exception happens (you may want to stop on handled exceptions). It sounds like you don't have compression on which will make it a lot easier.


Matthew Jones
Fri, Oct 21 2016 7:41 AMPermanent Link

Mark Brooks



For what it's worth, I was able to fix this by changing the order of my auto-create forms. I "think" the issue (found using Mathew's idea) relates to the MainForm trying to access another auto-create form that had not yet been created (actually a form that just says "Please Wait"). It's never an issue with a normal load / refresh cycle, only when you switch browser tabs in the middle. So I don't really know WHY but I am able to fix. Cheers.
Tue, Oct 25 2016 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.


Email timyoung@elevatesoft.com


Just a quick addition: while there's certainly a lot of value in posting such questions here, if you have a "customer issue" like this, please also email us so that we're aware of the issue and can, at the very least, get you on the right track quicker.  My attendance here has been a little spotty lately, due to some consulting that I'm doing with a large EDB/EWB customer, but we monitor the support email and can respond immediately when such an issue occurs.

Tim Young
Elevate Software
Thu, Oct 27 2016 8:45 AMPermanent Link

Mark Brooks



No worries Tim