compile exception, newbbie -> com.jaspersoft.ireport.designer.compiler.ErrorsCollector@6fb3e7bc net.sf.jasperreports.engine.JRException

0

Hi,

In the iReport 5.6.0 I've created a super simple report, if I try to do a preview I got the Compilation exceptions. Any help for newcomers will be very well appreciated!

Product Version: Jaspersoft iReport Designer 5.6.0

Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11
System: Linux version 5.4.0-47-generic running on amd64; UTF-8; en_US (ireport)
 

At one point the error trace puts @ line 188 column 36, but wow, my xml has 139 lines!

I've paste it here


  Compiling to file... account_report.jasper
Errors compiling /home/ .... /account_report.jasper!
Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@6fb3e7bc net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: calculator_account_1600108622134_867408: 188: unexpected token: INCOME @ line 188, column 30. 1 error     at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:113)     at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:201)     at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:354)     at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:270)     at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:563)     at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:528)     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: calculator_account_1600108622134_867408: 188: unexpected token: INCOME @ line 188, column 30. 1 error     at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)     at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)     at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119)     at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131)     at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359)     at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:141)     at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:107)     at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236)     at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:161)     at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:900)     at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:564)     at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:540)     at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:517)     at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:109)     ... 7 more
Compilation running time: 27!

 

zetam's picture
2
Joined: Sep 12 2020 - 5:07pm
Last seen: 1 week 2 days ago

iReport Designer was end-of-lifed years ago.

iReport/Jaspersoft Studio Support Announcement
As of version 5.5.0, Jaspersoft Studio will be the official design client for JasperReports. iReport will remain as a supported product in maintenance-only mode until December 31, 2015, meaning we will continue to fix critical defects in upcoming releases but no new features will be added to the iReport client. Continue to maintain your existing reports with the new Jaspersoft Studio!

djohnson53 - 2 weeks 2 days ago

0 Answers:

No answers yet
Feedback