Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto text error: Syntax error on token "البنك", ; expected #115

Open
AleGallagher opened this issue Oct 4, 2021 · 0 comments
Open

Comments

@AleGallagher
Copy link

Hi all!

I have a PDF export that has Auto Text as footer.
The text that shoud be shown is in Arabic. When the export is executed an error es shown:

2021/10/04 09:09:12.098 [ERROR][user02]-[ALAHLIMDC=9932e2e3df55c7634a3b5c96f56988a3e73534b9] e.r.c.exports.methods.ExportService - Error in export file
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

  1. Syntax error on token "البنك", ; expected
    value = " | – حي العقيق | رقم ان الإشارة إلى "البنك الأهلي السعودي""; //$JR_EXPR_ID=41$

  2. الأهلي cannot be resolved to a type

    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:206) ~[jasperreports-6.4.0.jar:6.4.0]
    at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:357) ~[jasperreports-6.4.0.jar:6.4.0]
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:617) ~[jasperreports-6.4.0.jar:6.4.0]
    at ar.com.fdvs.dj.core.DynamicJasperHelper.generateJasperPrint(DynamicJasperHelper.java:315) ~[DynamicJasper-5.1.1.jar:na]

<jasperreports.version>6.4.0</jasperreports.version>
<jasperreports-fonts.version>6.0.0</jasperreports-fonts.version>
<dynamic-jasper.version>5.1.1</dynamic-jasper.version>

Could you help us please?
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant