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

Thanks=2C
Jeton Mehmeti
Kosovo =20

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

···

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
                 =

--_56eaa850-d97b-49cb-9264-21f7afd50f09_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
</head>
<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: jlungo@yahoo.com<br>Subj=
ect: Re: [Dhis2-devs] Designing reports in iReport<br>To: jeton_lesnadekon@=
hotmail.com<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>&lt=3Bjeton_lesnadekon@hotmail.com&gt=3B</i></b> wr=
ote:<br><blockquote style=3D"margin-left:5px=3Bpadding-left:5px"><br>From: =
Jeton Mehmeti &lt=3Bjeton_lesnadekon@hotmail.com&gt=3B<br>Subject: [Dhis2-d=
evs] Designing reports in iReport<br>To: dhis2-devs@lists.launchpad.net<br>=
Date: Friday=2C July 1=2C 2011=2C 1:21 PM<br><br><div id=3D"ecxyiv830552069=
">

<style>
.ExternalClass #ecxyiv830552069 .ecxyiv830552069hmmessage P
{padding:0px=3B}
.ExternalClass #ecxyiv830552069 .ecxyiv830552069hmmessage
{font-size:10pt=3Bfont-family:Tahoma=3B}

</style>

<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=
?&nbsp=3B</div><div><br></div><div><br></div><div>Thanks=2C</div><div><br><=
/div><div>Jeton Mehmeti</div><div><br></div><div>Kosovo</div> </=

=20

</div><br>-----Inline Attachment Follows-----<br><br><div class=3D"ecxplain=
Mail">_______________________________________________<br>Mailing list: <a h=
ref=3D"https://launchpad.net/~dhis2-devs" target=3D"_blank">https://launchp=
ad.net/~dhis2-devs</a><br>Post to&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B: <a href=
=3D"http:///mc/compose?to=3Ddhis2-devs@lists.launchpad.net" target=3D"_blan=
k">dhis2-devs@lists.launchpad.net</a><br>Unsubscribe : <a href=3D"https://l=
aunchpad.net/~dhis2-devs" target=3D"_blank">https://launchpad.net/~dhis2-de=
vs</a><br>More help&nbsp=3B&nbsp=3B&nbsp=3B: <a href=3D"https://help.launch=
pad.net/ListHelp" target=3D"_blank">https://help.launchpad.net/ListHelp</a>=
<br></div></blockquote></td></tr></tbody></table></div> </div></=

</html>=

--_56eaa850-d97b-49cb-9264-21f7afd50f09_--

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.