Jump to content

Testing groovy and no success...


2006 IR Open Dicussion

Recommended Posts

By: cardondenis - cardondenis

Testing groovy and no success...

2006-02-16 09:43

Hi people,

 

I've been testing new iReport feature recently and I have to say that it is really awesome. I've succeded in getting great crosstab reports, however I've been unable to get groovy working. I'm getting the following exception at runtime (compilation is ok). Any ideas?

 

Cheers,

 

Denis

 

Filling report...

Locale: français (France)

 

Error filling print...

java.lang.VerifyError: (class: bulletin3_1140110911954_533188, method: evaluateEstimated signature: (I)Ljava/lang/Object;) Expecting to find object/array on stack at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618) at java.lang.Class.getConstructor0(Class.java:1930) at java.lang.Class.newInstance0(Class.java:278) at java.lang.Class.newInstance(Class.java:261) at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:84) at net.sf.jasperreports.engine.design.JRAbstractCompiler.loadEvaluator(JRAbstractCompiler.java:327) at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:195) at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:383) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:443) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:113) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:163) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:662) at java.lang.Thread.run(Thread.java:534)

Print not filled. Try to use an EmptyDataSource...!

 

 

 

 

By: Giulio Toffoli - gt78

RE: Testing groovy and no success...

2006-02-16 17:55

Use iReport 0.5.3 or greater (like 1.1.0). Other versions come with a wrong groovy jar compiler.

 

Giulio

 

 

 

 

 

 

By: cardondenis - cardondenis

RE: Testing groovy and no success...

2006-02-17 04:32

Hi Giulio,

 

thanks for your input, and sorry for having omitted the technical details of my installation. So here they are :-)

- jdk j2sdk1.4.2_10

- iReport 1.1.0

 

 

 

 

By: Giulio Toffoli - gt78

RE: Testing groovy and no success...

2006-02-17 20:14

I think the error could be a wrong expression. Try the report outside iReport. If the error persists, ask for this on JasperREports forum

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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