Friday, January 16, 2015

Re: "Too much recursion" after repeating open and close tabs

Until proven otherwise, I would say it's a SmartGWT / SmartClient bug (unless it's a bug in your code that is). You'd better ask on their forums IMO.

On Thursday, January 15, 2015 at 5:31:49 PM UTC+1, Anaís Martínez wrote:
Hello 

I have one Tab layout panel in which different tabs are created and destroyed acording to information received from server. That is, my site shows a list of items, which have different characteristics showed in tabs. The number and contain for each of them is different, so when user clicks over another item, the tab layout destroyes current tabs and builds new tabs. 

It is correctly working all, but after and intensive use, I get following error:

(InternalError)
stack
: isc_Canvas__getNextTabWidget@http://localhost:8080/web-app/sc/modules/ISC_Core.js:2060
isc_Canvas__shiftTabIndexForward@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2059
isc_Canvas__shiftTabIndexForward@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2060
[...]
isc_Canvas__shiftTabIndexForward@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2060
isc_Canvas__shiftTabIndexForward@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2060
isc_Canvas__slotTabBetween@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2057
isc_Canvas__setTabBefore@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2053
isc_Canvas__slotChildrenIntoTabOrder@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2066
isc_Canvas__setTabBefore@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2053
isc_Canvas__slotChildrenIntoTabOrder@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2066
isc_Canvas__setTabBefore@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2053
isc_Canvas__slotChildrenIntoTabOrder@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2066
isc_Canvas__setTabAfter@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2056
isc_Layout_updateMemberTabIndex@http
://localhost:8080/web-app/sc/modules/ISC_Foundation.js:343
isc_Layout_addMembers@http
://localhost:8080/web-app/sc/modules/ISC_Foundation.js:322
isc_Layout_addMember@http
://localhost:8080/web-app/sc/modules/ISC_Foundation.js:313
isc_TabSet_createPane@http
://localhost:8080/web-app/sc/modules/ISC_Containers.js:198
isc_TabSet_updateTab@http
://localhost:8080/web-app/sc/modules/ISC_Containers.js:222
vDc@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10525
oDc@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:8774
pDc@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:6183
Azc@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10730
wzc@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:8427
Gzc@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10730
CNb@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:5265
E0b@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10721
$Mb@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10718
Xne@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10760
wwb@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10439
Kf@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:8743
ng@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10715
QBb/c.onreadystatechange<@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:7200
uc@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:5357
xc@http
://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:9104
wc
/<@http://localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:7516


 fileName
: http://localhost:8080/web-app/sc/modules/ISC_Core.js
 lineNumber
: 2060
 columnNumber
: 236: too much recursion
isc_Canvas__shiftTabIndexForward@http
://localhost:8080/web-app/sc/modules/ISC_Core.js:2060

Any idea? I'm using GWT 2.6.0. 

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment