Jump to content

How do I have an error on line 161 when my highest listed code line is 45?


mreed_1

Recommended Posts

Getting a compilation error "com.jaspersoft.ireport.designer.compiler.ErrorsCollector@459cba" on line 161. Xml file lists line 45 as the greatest value. Where is this magical line 161 hiding so I can go and correct it?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

here's the whole thing:

 

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: calculator_Collection32Invoice32List32with32Balance32Due_1378761430162_581252: 217: unexpected token: Bill @ line 217, column 22. 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:240)     at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:156)     at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:439)     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_Collection32Invoice32List32with32Balance32Due_1378761430162_581252: 217: unexpected token: Bill @ line 217, column 22. 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

 

 

so how is there an error on line 217, column 22 when the line at that position is "" ??

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...