posted 18 years ago
In JForum.java, you might want to initialize the context first before doing new ActionServletRequest(req), so that if new ActionServletRequest(req) through an exception, you don't get a NullPointer in the catch when you try to rollback.
// Initializes the execution context
JForumExecutionContext ex = JForumExecutionContext.get();
// Request
request = new ActionServletRequest(req);
[originally posted on jforum.net by Anonymous]