• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Matrix report

 
shumani edzani
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my code,its printing nullException
public ActionForward matrixReport(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws ReportWizardActionException {

try {
// Get report parameters ...and?? TODO
ActionForward forward = mapping.findForward("simpleSqlReport");
ActionForward newForward = new ActionForward();
StringBuffer forwardUrlPath = createSimpleSQLReportWebParam(
request, forward, form);
newForward.setPath(forwardUrlPath.toString());
Debug.println(this, "<< matrixReport ");
return newForward;

} catch (Exception e) {
String msg = "Exception: " + e.getClass().getName() + ", MSG: "
+ e.getMessage();
Debug.println(this.getClass(), Debug.INFO, msg);
throw new ReportWizardActionException(msg);
}
}
 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Use Code Tags to preserve your formatting. Use the edit button to modify your original post.

Can you show us the entire stack trace of the exception?
[ October 22, 2008: Message edited by: Rob Prime ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic