Highlighted
Absent Member.
Absent Member.
802 views

iReport compile and preview error


Hi,

I have the following problem:

I've installed all the tools required to build reports based on the:
'Sentinel Development Environment - Developer Community'
(http://developer.novell.com/wiki/index.php/Sentinel_Development_Environment)
but I cannot build report neighter with Eclipse nor iReport (3.0.0 or
3.7.4).

I tried to edit the existing report for internal events.

With iReport 3.0.0 I can edit the design, but cannot compile because of
the following errors:
> The method DatePrepare(String, String, String) is undefined for the

type TemplateReportScriptlet.
Line 40, Column 28
/jasperReport/parameter[5]/defaultValueExpression[1]

> The method DatePrepare(String, String, String) is undefined for the

type TemplateReportScriptlet.
Line 43, Column 28
/jasperReport/parameter[4]/defaultValueExpression[1]

> The method DatePrepare(String, String, String) is undefined for the

type TemplateReportScriptlet.
Line 48, Column 53
/jasperReport/title[1]/band[1]/textField[4]/textFieldExpression[1]

iReport 3.7.4:
After editing with the designer, I cannot compile the source ANY more,
it comes back with the following error in all cases after an
unsuccessfull compilation:
> Error loading the report template:

org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute
'splitType' is not allowed to appear in element 'band'

My workaround is, to design it with 3.0.0, save it. Open it in 3.7.4
and compile it. It takes so much time...

With Eclipse, I have the same error as posted here:
http://forums.novell.com/novell-developer-forums/dev-plug-sdk/416875-error-when-building-documentation.html
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.