You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ikya Technical <ik...@gmail.com> on 2009/05/29 08:19:07 UTC

Error in Jasper printReport

Hi,

     Whenever I am giving true in

                        JasperPrintManager.printReport(jasperPrint, true)

    it is throwing the error

                net.sf.jasperreports.engine.JRException: Error printing report.


     But if I am giving it as JasperPrintManager.printReport(jasperPrint,
false) it is working fine.

     Am I missing any library for this?

Regards,
Sreekanth

RE: Error in Jasper printReport

Posted by Martin Gainty <mg...@hotmail.com>.
can you post:

WEB/INF/web.xml
/WEB-INF/classes/struts.xml
/WEB-INF/classes/struts-config.xml
/WEB-INF/classes/struts-plugin.xml
/WEB-INF/classes/xwork-classes.xml
any/all *.jsp
any/all java source for Action classes
version of all jars used (especially which version jasperpreports.jar)
DB connection and / or schema

thx,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Fri, 29 May 2009 11:29:35 -0400
> Subject: Re: Error in Jasper printReport
> From: wesw@wantii.com
> To: user@struts.apache.org
> 
> Or, just quit trying to specify true... Based on the information
> provided, I would suggest that you specify false from now on.
> 
> :)
> 
> -Wes
> 
> On Fri, May 29, 2009 at 2:24 AM, Nils-Helge Garli Hegvik
> <ni...@gmail.com> wrote:
> > Maybe you should try a Jasper mailing list?
> >
> > Nils-H
> >
> > On Fri, May 29, 2009 at 8:19 AM, Ikya Technical <ik...@gmail.com> wrote:
> >> Hi,
> >>
> >>     Whenever I am giving true in
> >>
> >>                        JasperPrintManager.printReport(jasperPrint, true)
> >>
> >>    it is throwing the error
> >>
> >>                net.sf.jasperreports.engine.JRException: Error printing report.
> >>
> >>
> >>     But if I am giving it as JasperPrintManager.printReport(jasperPrint,
> >> false) it is working fine.
> >>
> >>     Am I missing any library for this?
> >>
> >> Regards,
> >> Sreekanth
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 
> 
> 
> -- 
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Hotmail® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009

Re: Error in Jasper printReport

Posted by Wes Wannemacher <we...@wantii.com>.
Or, just quit trying to specify true... Based on the information
provided, I would suggest that you specify false from now on.

:)

-Wes

On Fri, May 29, 2009 at 2:24 AM, Nils-Helge Garli Hegvik
<ni...@gmail.com> wrote:
> Maybe you should try a Jasper mailing list?
>
> Nils-H
>
> On Fri, May 29, 2009 at 8:19 AM, Ikya Technical <ik...@gmail.com> wrote:
>> Hi,
>>
>>     Whenever I am giving true in
>>
>>                        JasperPrintManager.printReport(jasperPrint, true)
>>
>>    it is throwing the error
>>
>>                net.sf.jasperreports.engine.JRException: Error printing report.
>>
>>
>>     But if I am giving it as JasperPrintManager.printReport(jasperPrint,
>> false) it is working fine.
>>
>>     Am I missing any library for this?
>>
>> Regards,
>> Sreekanth
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error in Jasper printReport

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Maybe you should try a Jasper mailing list?

Nils-H

On Fri, May 29, 2009 at 8:19 AM, Ikya Technical <ik...@gmail.com> wrote:
> Hi,
>
>     Whenever I am giving true in
>
>                        JasperPrintManager.printReport(jasperPrint, true)
>
>    it is throwing the error
>
>                net.sf.jasperreports.engine.JRException: Error printing report.
>
>
>     But if I am giving it as JasperPrintManager.printReport(jasperPrint,
> false) it is working fine.
>
>     Am I missing any library for this?
>
> Regards,
> Sreekanth
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org