aspose file tools*
The moose likes Other Open Source Projects and the fly likes report generation using iText, problem in format method. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "report generation using iText, problem in format method." Watch "report generation using iText, problem in format method." New topic
Author

report generation using iText, problem in format method.

Sudhakar Sharma
Ranch Hand

Joined: Apr 04, 2009
Posts: 71

Hi,

I am using rtftemplate.jar for generating report, report is generated automatically using report_status flag, but somehow some report are in failed status. Giving me a stack trace, which i can not able to understand,
have any one seen this problem, please help me to find out the rrot cause.

Stack Trace



thanks and regards
Sudhakar Sharma
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
I am using itext for generating report

You are? There's no iText class in the stacktrace, but a "net.sourceforge.rtf" package which implies that the http://rtftemplate.sourceforge.net/ library is involved ...
Sudhakar Sharma
Ranch Hand

Joined: Apr 04, 2009
Posts: 71

Ulf Dittmer wrote:
I am using itext for generating report

You are? There's no iText class in the stacktrace, but a "net.sourceforge.rtf" package which implies that the http://rtftemplate.sourceforge.net/ library is involved ...


sorry, for mistake.

but, what the problem is. Please help

thanks and regard
Sudhakar Sharma
Ranch Hand

Joined: Apr 04, 2009
Posts: 71

Hi,

Please help me

thanks and regards
Sudhakar Sharma
Ranch Hand

Joined: Apr 04, 2009
Posts: 71

Hi,

Please help me, I couldn't able to find out the root cause.

thanks and regards
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
An object is null; check the source code of the net.sourceforge.rtf.format.DefaultInputStreamFormat.format method to see which one that might be.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: report generation using iText, problem in format method.