-
1. Re: Question on error
ben.wang Mar 30, 2004 8:34 PM (in response to cwampler)Chris,
Thanks for reporting the problem. Can you give me more detailed info on how can I reproduce the problem? BTW, I am currently out of town and won't be able to look into this problem untill next week.
Thanks,
-Ben -
2. Re: Question on error
cwampler Mar 31, 2004 12:54 PM (in response to cwampler)It is while doing a bulk insert of a few thousand elements and it seems to happen about once every 4 or 5 runs. And it isn't ever really on the same element. Sometimes it will only get through 50 or 60 and sometimes it does 10000 before it crashes.
Thanks again,
Chris -
3. Re: Question on error
cwampler Apr 2, 2004 9:02 PM (in response to cwampler)Ben,
When you get a chance please let me know what is coming up null. Is it something I can check before each "put"?
Thanks again,
Chris -
4. Re: Question on error
ben.wang Apr 7, 2004 9:11 AM (in response to cwampler)Chris,
I've taken a look at the source code. I can see a chance for the null pointer exception.
Is there a test case that you can send me to reproduce this problem so I can validate it? I'd like to add it to the JUnit test suite as well.
Otherwise, I will fix it and have you tested out for me. :-)
Thanks,
-Ben -
5. Re: Question on error
cwampler Apr 7, 2004 1:21 PM (in response to cwampler)Unfortunately I couldn't send you the code to test since it is hitting up on the DB (which is constantly changing itself). All I am doing is a mass bulk from a DB table (about 20000 at a time), and they are all just simple strings. ie
cache.put("/DBConstant/State", "California", "5");
cache.put("/DBConstant/Sex", "Male", "1");
cache.put("/DBConstant/UserCode", "Chris", "admin");
And I would be more than happy to test it for you.
Thanks again for your reply,
Chris -
6. Re: Question on error
ben.wang Apr 8, 2004 9:55 AM (in response to cwampler)Chris,
I have a fix here for you to test it out. Can you send me your email address? Mine is ben.wang@jboss.com. I will mail you the new jar.
Thanks,
-Ben -
7. Re: Question on error
ben.wang Apr 19, 2004 10:12 PM (in response to cwampler)Just to let everyone knows that this bug has been fixed.
Thanks,
-Ben