Re: Problem with ArrayList's add() function

2009-02-02 Thread Dave Newton
sd9 wrote: I had been stuck with this problem for more than 24 hours [...] ... The stack trace should have pointed to the exact location and error, no? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For a

Re: Problem with ArrayList's add() function

2009-02-02 Thread sd9
God Bless you Nuwan and Nils :) I had been stuck with this problem for more than 24 hours and now it's solved. Yeah, as you said, I just had to add this "casePapers=new ArrayList();" And it worked!!! :) Thanks a million!!! -- View this message in context: http://www.nabble.com/Problem-with-

Re: Problem with ArrayList's add() function

2009-02-02 Thread Nuwan Chandrasoma
casePapers must be null? sd9 wrote: Hi, This problem has been driving me mad! I have this code (below), which isn't going beyond the "casePapers.add(cp)" line. It displays the string "--before4--" But doesn't display this string "--after-

Re: Problem with ArrayList's add() function

2009-02-02 Thread Nils-Helge Garli Hegvik
Have you actually created the ArrayList? Nils-H On Mon, Feb 2, 2009 at 1:42 PM, sd9 wrote: > > Hi, > > This problem has been driving me mad! > I have this code (below), which isn't going beyond the "casePapers.add(cp)" > line. > It displays the string "--before4--

Re: Problem with ArrayList's add() function

2009-02-02 Thread sd9
And this is the error from catalina.out: Feb 2, 2009 5:56:00 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Feb 2, 2009 5:56:01 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Feb 2, 2009 5:56:02 PM org.apache.coyote.ht

Problem with ArrayList's add() function

2009-02-02 Thread sd9
Hi, This problem has been driving me mad! I have this code (below), which isn't going beyond the "casePapers.add(cp)" line. It displays the string "--before4--" But doesn't display this string "--after--" The CasePaper class has been