Jump to content
Changes to the Jaspersoft community edition download ×

Hashcode collision when compiling reports

Recommended Posts

By: Ryan Johnson - delscovich

Hashcode collision when compiling reports

2003-06-10 14:08

Several times in the last few weeks, I have encountered the following error while using the JasperReports Ant task on my 33 reports:


compile reports:

[jasper] Compiling 33 report design files.

[jasper] Warning : Element bottom reaches outside band area : y=18 height=1 band-height=18

[jasper] Warning : Element bottom reaches outside band area : y=13 height=1 band-height=13

[jasper] c:devprojectspxmodulespartbuildGrossSales.java:191: duplicate case label

[jasper] case 12647940 : // textField_3

[jasper] ^

[jasper] c:devprojectspxmodulespartbuildGrossSales.java:405: duplicate case label

[jasper] case 12647940 : // textField_3

[jasper] ^

[jasper] c:devprojectspxmodulespartbuildGrossSales.java:619: duplicate case label

[jasper] case 12647940 : // textField_3

[jasper] ^

[jasper] 3 errors

[jasper] Error compiling report design : C:devprojectspxmodulespartsrccomevntcommonreportsogrossGrossSal


[jasper] dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:

[jasper] See error messages above.

[jasper] at dori.jasper.engine.design.JRCompiler.compileReport(JRCompiler.java:148)

[jasper] at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)

[jasper] at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123)

[jasper] at dori.jasper.ant.JRAntCompileTask.compile(JRAntCompileTask.java:391)

[jasper] at dori.jasper.ant.JRAntCompileTask.execute(JRAntCompileTask.java:239)

[jasper] at org.apache.tools.ant.Task.perform(Task.java:341)

[jasper] at org.apache.tools.ant.Target.execute(Target.java:309)

[jasper] at org.apache.tools.ant.Target.performTasks(Target.java:336)

[jasper] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

[jasper] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)

[jasper] at org.apache.tools.ant.Main.runBuild(Main.java:609)

[jasper] at org.apache.tools.ant.Main.start(Main.java:196)

[jasper] at org.apache.tools.ant.Main.main(Main.java:235)


When I run the task again, I get the same error on the same hashcode, but from a different report element. I've tried restarting the computer, running the task in different ways (cygwin, cmd.exe), with no luck.


It seems to be a memory space issue - as long as the compile isn't changed by the source code, the error remains. If I change any source, then it works OK.


Has anyone else run into this problem?








By: Teodor Danciu - teodord

RE: Hashcode collision when compiling reports

2003-07-07 12:37




This has been solved in the new 0.5.0 version.


Thank you,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...