You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Error fill report:
I use python 3.9, TIBCO Jaspersoft 6.19.1
I generate report by pyreportjasper
When i set parameters to Jasper ex: pyreportjasper.config( ... , parameters={'logo': os.path.join(IMAGE_DIR,"logo.png") }, ...)
If parameter isn't type of String,
It has error message
NameError: Error fill report: Erro fill internal: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $P{logo}
or parameter in JasperReport has Expression ex: $P{invoiceDate}.toString().replaceFirst("(\d{2})(\d{2})(\d{2})", "$3/$2/$1"),
It has error message
NameError: Error fill report: Erro fill internal: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $P{invoiceDate}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have Error fill report:
I use python 3.9, TIBCO Jaspersoft 6.19.1
I generate report by pyreportjasper
When i set parameters to Jasper ex: pyreportjasper.config( ... , parameters={'logo': os.path.join(IMAGE_DIR,"logo.png") }, ...)
If parameter isn't type of String,
It has error message
NameError: Error fill report: Erro fill internal: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $P{logo}
or parameter in JasperReport has Expression ex: $P{invoiceDate}.toString().replaceFirst("(\d{2})(\d{2})(\d{2})", "$3/$2/$1"),
It has error message
NameError: Error fill report: Erro fill internal: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $P{invoiceDate}
How can i resolve this error?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions