-
1. Re: Tree only shows two level, though it can go more than tw
nbelaevski Jun 26, 2009 6:07 AM (in response to coolrb)Hi,
Usage of commons-collections 2.x can be the reason of such behavior. -
2. Re: Tree only shows two level, though it can go more than tw
coolrb Jun 29, 2009 1:35 AM (in response to coolrb)I tried with latest commons-collections-3.2.1.jar but still the behavior does not change.
-
3. Re: Tree only shows two level, though it can go more than tw
ilya_shaikovsky Jun 29, 2009 4:47 AM (in response to coolrb)maybe some shared libraries?
-
4. Re: Tree only shows two level, though it can go more than tw
coolrb Jun 29, 2009 5:50 AM (in response to coolrb)I am sure all older commons-collections jars have been removed and there are no shared older commons-collections jars. But still I cannot see more that two level
-
5. Re: Tree only shows two level, though it can go more than tw
nbelaevski Jun 29, 2009 6:03 AM (in response to coolrb)How to reproduce that?
-
6. Re: Tree only shows two level, though it can go more than tw
coolrb Jun 29, 2009 6:56 AM (in response to coolrb)I have already posted my code and I am using richfaces 3.3.0.GA
-
7. Re: Tree only shows two level, though it can go more than tw
ilya_shaikovsky Jun 29, 2009 7:12 AM (in response to coolrb)prepare please war file. we already reproduced it. And on our side it was caused by commons. And after the pom file fix - the same code works fine. So need complete war for investigation. Also please pack the java sources in war. Thanks for your efforts and patience!
-
8. Re: Tree only shows two level, though it can go more than tw
coolrb Jun 30, 2009 2:26 AM (in response to coolrb)I would say somehow you are correct. I created a small web app and not able to reproduce with common-collection 3.2 jar file. When I change it to 2.2, its very much reproducible. But why the same behavior is not reflected in my web app. I deleted all references of common-collection 2.2 in my directory but still only two level appears. Is there any other way to know which common-collection jar file it uses during run time? I would really appreciate ur help. Almost spent 3days.
-
9. Re: Tree only shows two level, though it can go more than tw
liuliu Jun 30, 2009 5:28 AM (in response to coolrb)
maybe cache or publish problem. sometimes the jar is not replaced by eclipse.(if you use eclipse) -
10. Re: Tree only shows two level, though it can go more than tw
nbelaevski Jun 30, 2009 5:58 AM (in response to coolrb)"coolrb" wrote:
I would say somehow you are correct. I created a small web app and not able to reproduce with common-collection 3.2 jar file. When I change it to 2.2, its very much reproducible. But why the same behavior is not reflected in my web app. I deleted all references of common-collection 2.2 in my directory but still only two level appears. Is there any other way to know which common-collection jar file it uses during run time? I would really appreciate ur help. Almost spent 3days.
You can try this:URL url = Thread.currentThread().getContextClassLoader().loadClass("org.apache.commons.collections.Bag").getProtectionDomain().getCodeSource().getLocation(); System.out.println(url);
-
11. Re: Tree only shows two level, though it can go more than tw
coolrb Jun 30, 2009 6:24 AM (in response to coolrb)I also upgraded all references in eclipse environment to cc3.2.
-
12. Re: Tree only shows two level, though it can go more than tw
ilya_shaikovsky Jun 30, 2009 6:38 AM (in response to coolrb)seems you missed Nick's suggestion above.
-
13. Re: Tree only shows two level, though it can go more than tw
coolrb Jun 30, 2009 7:02 AM (in response to coolrb)I got it resolved. It was caused by checkstyle-all.jar(http://sourceforge.net/projects/checkstyle/) which has references to older collection-collection api.
Thanks a lot for your help.
Yes, my two cents for you -
14. Re: Tree only shows two level, though it can go more than tw
ilya_shaikovsky Jun 30, 2009 7:53 AM (in response to coolrb)glad to hear.. seems the question is good candidate to FAQ as you the third guy who asked in last two weeks :) Thanks again!