Designing reports in iReport

Hi everyone=2C
A problem I have previewing the design of reports in iReport.=20
Compilation takes place with no errors=2C but previewing the report returns=
a message "The document has no pages".
Anyone has ran into this before?=20

Jeton Mehmeti
Kosovo =20

-----Inline Attachment Follows-----


Mailing list:
Post to :
Unsubscribe :
More help :

Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

.hmmessage P
font-size: 10pt=3B
<body class=3D'hmmessage'><div dir=3D'ltr'>
<span class=3D"Apple-style-span" style=3D"color: rgb(42=2C 42=2C 42)=3B fon=
t-family: 'Segoe UI'=2C Tahoma=2C Verdana=2C Arial=2C sans-serif=3B line-he=
ight: 17px=3B ">Resolved.<div style=3D"line-height: 17px=3B "><br style=3D"=
line-height: 17px=3B "></div><div style=3D"line-height: 17px=3B ">Key was i=
n the iReport itself. In the 'report inspector' under 'properties' changed =
the value of 'when no data'.</div><div style=3D"line-height: 17px=3B "><br =
style=3D"line-height: 17px=3B "></div><div style=3D"line-height: 17px=3B ">=
This implies that when there is no data iReport by default returns a blank =
page unless you change the value of 'when no data'.</div><div style=3D"line=
-height: 17px=3B "><br style=3D"line-height: 17px=3B "></div><div style=3D"=
line-height: 17px=3B "><br style=3D"line-height: 17px=3B "></div><div style=
=3D"line-height: 17px=3B ">Jeton</div></span><br><div><hr id=3D"stopSpellin=
g">Date: Fri=2C 1 Jul 2011 07:18:29 -0700<br>From:<br>Subj=
ect: Re: [Dhis2-devs] Designing reports in iReport<br>To: jeton_lesnadekon@=<br><br><table cellspacing=3D"0" cellpadding=3D"0" border=3D"0">=
<tbody><tr><td valign=3D"top" style=3D"font:inherit">this implies your quer=
y can not retrieve data.<br><br>but if you have downloaded your xml file fr=
om the dhis's report table it doesnot matter. when you upload your xml file=
back to dhis=2C it will work fine<br><br>Lungo<br><br>--- On <b>Fri=2C 7/1=
/11=2C Jeton Mehmeti <i>&</i></b> wr=
ote:<br><blockquote style=3D"margin-left:5px=3Bpadding-left:5px"><br>From: =
Jeton Mehmeti &<br>Subject: [Dhis2-d=
evs] Designing reports in iReport<br>To:<br>=
Date: Friday=2C July 1=2C 2011=2C 1:21 PM<br><br><div id=3D"ecxyiv830552069=

.ExternalClass #ecxyiv830552069 .ecxyiv830552069hmmessage P
.ExternalClass #ecxyiv830552069 .ecxyiv830552069hmmessage


<div dir=3D"ltr">
Hi everyone=2C<div><br></div><div>A problem I have previewing the design of=
reports in iReport.&nbsp=3B</div><div><br></div><div>Compilation takes pla=
ce with no errors=2C but previewing the report returns a message "The docum=
ent has no pages".</div><div><br></div><div>Anyone has ran into this before=
/div><div>Jeton Mehmeti</div><div><br></div><div>Kosovo</div> </=


</div><br>-----Inline Attachment Follows-----<br><br><div class=3D"ecxplain=
Mail">_______________________________________________<br>Mailing list: <a h=
ref=3D"" target=3D"_blank">https://launchp=</a><br>Post to&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B: <a href=
=3D"http:///mc/compose?" target=3D"_blan=
k"></a><br>Unsubscribe : <a href=3D"https://l=" target=3D"_blank">
vs</a><br>More help&nbsp=3B&nbsp=3B&nbsp=3B: <a href=3D"https://help.launch=" target=3D"_blank"></a>=
<br></div></blockquote></td></tr></tbody></table></div> </div></=



1 Like

Dear @Jeton Mehmeti,

I am trying to implement a small report through iReport. My report works fine in iReport but I get the below error while “Creating” it in DHIS2:

HTTP Status 500 - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException

I see you have raised a similar question in Jul 2001 but I don’t see any replies for that. Did you manage to fix it? Can you please spare some time to help me to resolve this issue.

Many thanks in advance.