Saravanan kavitha wrote:
The sample code is as follows: Search.java TableViewMgr tvm = (TableViewMgr) data.getUser().getTemp("CasesReportsTVM"); ----- ----- if (searchString != null) { if (searchString.equalsIgnoreCase("yes")) { // query the database and populate the TableViewMgr // with the search results tvm.setManagedData(getDocuments(context)); // sort by the job number if (formBean.getTypeSearch().equals("oneday")) { tvm.sortBy("reportnum", prefs.getSortOrder()); } else { tvm.sortBy("rundate", "descending"); } } } The exception throws in this line : tvm.setManagedData(getDocuments(context)); Its not happening always. once in a while(monthly once) it throws this error for random user. I tried to reproduce the problem by using the back button or double clicking the 'submit' button or come from the bookmark. But i couldnt reproduce the problem. Any suggestion would be really appreciated. Thanks a lot.
I would start with a null-check for tvm. The whole thing may depend on your session being valid and things like this.
Bye, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
