on 10-19-2006 12:17 PM
Hi all,
We are using EP6 SPS17 I have developed a recursive application that simply goes through any desired repository and store all the subfolders in a vector and then enable certain CM services of the stored subfolders. The application was working fine in the development environment but after applying the application on real-time repository with a huge number of subfolders the application gives a stack overflow error.
Any idea how to overcome this error.
Thanx,
Javed
Well, recursion is dangerous if you don't plan for potential link or bind loops. Im KM, there's an IHierarchyWalker interface and an implementation you way want to use.
Best regards, Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Javed,
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4609">this blog entry on recursive processing</a> gives an example of how to use the HierarchyWalker that Julian mentions, and it also explains where the error you are getting may be coming from.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.