File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Matrix report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Matrix report" Watch "Matrix report" New topic
Author

Matrix report

shumani edzani
Greenhorn

Joined: Oct 03, 2008
Posts: 9
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

Joined: Oct 27, 2005
Posts: 19541
    
  16

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 ]

SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Matrix report
 
Similar Threads
IllegalStateException
Not able to see the errors on JSP
ReportMatrix
Matrix report
ReportWizardMatrix