Hi Mansukhdeep...the only place I am trying to access the ArrayList is when I am trying to add an entry. The very first time I'm trying to do it there's the exception. As the code shows, the ArrayList ought to be empty before the first time this add is attempted.
Hi Jeff...I'm not sure what other information I can give to make things clearer without introducing unnecessary details. But I'll try.
The quantinst.user table has a list of all users in the system (currently 7 in all). The different print statements give the following output :
The Action class from where this is being called is as follows :
The first print statement here is also getting printed as expected. But the last print statement, which ought to print the entire list, is not getting printed. this looks okay to me, as the exception is being thrown before this, and the execution never reaches this line.
Two other things.
1. While running the application, when I am encountering the error, I am getting an HTTP Status 500 error on the browser.
2. I am running this application from inside the Netbeans 7.0
IDE and the associated container is Glassfish Server 3.1
If there is any other information you think I missed out, please let me know.