Jump to content
We've recently updated our Privacy Statement, available here ×

Error after upgrading to 0.5.0


Recommended Posts

By: Ian Bryson - ibryson

Error after upgrading to 0.5.0

2003-07-07 01:26

I've just upgraded to 0.5.0 but one of my reports starts failing at the following expression:

 

<printWhenExpression> ((SubSummaryChartScriptlet)$P{REPORT_SCRIPTLET}).runReport()</printWhenExpression>

 

It doesn't seem to even get as far as the calling the scriplet method anymore as I've just put in a couple of system.out's which are never displayed.

 

Any ideas?

 

Cheers

 

Ian

 

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Error after upgrading to 0.5.0

2003-07-07 02:19

 

Hi,

 

What is the error you have?

Can wee see the stack trace?

 

Thank you,

Teodor

 

 

 

 

 

By: Ian Bryson - ibryson

RE: Error after upgrading to 0.5.0

2003-07-07 06:17

I'm not sure how to trap the error. All I get is something like:

 

Error evaluating expression value : textField_1

 

My method throws a JRScriptletException but it never even seems to get called.

 

Any help appreciated.

 

Ian

 

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Error after upgrading to 0.5.0

2003-07-07 06:41

 

Hi,

 

This is only the exception's message.

 

Somewhere when you call the report filling process

of the JasperReports library (the JasperFillManager

or the JasperRunManager), it throws a JRException.

When you catch this exception, print its stack trace

on the console so that we can see what went wrong.

 

Thank you,

Teodor

 

 

 

 

 

By: Ian Bryson - ibryson

RE: Error after upgrading to 0.5.0

2003-07-08 02:24

Below is the error stack. Very strange. All I'm doing is replcacing the old jasperreports jar files with these new ones.

 

java.lang.NoClassDefFoundError: dori/jasper/engine/JRAbstractScriptlet

at subSummaryChart.evaluate(subSummaryChart.java:287)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:707)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:643)

at dori.jasper.engine.fill.JRFillElement.evaluatePrintWhenExpression(JRFillElement.java:580)

at dori.jasper.engine.fill.JRFillLine.evaluate(JRFillLine.java:140)

at dori.jasper.engine.fill.JRFillBand.evaluate(JRFillBand.java:386)

at dori.jasper.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1130)

at dori.jasper.engine.fill.JRVerticalFiller.fillGroupFooter(JRVerticalFiller.java:703)

at dori.jasper.engine.fill.JRVerticalFiller.fillGroupFooters(JRVerticalFiller.java:671)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:304)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:189)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:524)

at dori.jasper.engine.fill.JRFillSubreport.run(JRFillSubreport.java:404)

at java.lang.Thread.run(Unknown Source)

 

NESTED BY :

dori.jasper.engine.JRException: Error evaluating expression value : printWhen_1

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:714)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:643)

at dori.jasper.engine.fill.JRFillElement.evaluatePrintWhenExpression(JRFillElement.java:580)

at dori.jasper.engine.fill.JRFillLine.evaluate(JRFillLine.java:140)

at dori.jasper.engine.fill.JRFillBand.evaluate(JRFillBand.java:386)

at dori.jasper.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1130)

at dori.jasper.engine.fill.JRVerticalFiller.fillGroupFooter(JRVerticalFiller.java:703)

at dori.jasper.engine.fill.JRVerticalFiller.fillGroupFooters(JRVerticalFiller.java:671)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:304)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:189)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:524)

at dori.jasper.engine.fill.JRFillSubreport.run(JRFillSubreport.java:404)

at java.lang.Thread.run(Unknown Source)

 

 

 

 

By: Teodor Danciu - teodord

RE: Error after upgrading to 0.5.0

2003-07-08 03:25

 

Hi,

 

What it the platform that you are running on and what

JDK version are you using?

 

Thank you,

Teodor

 

 

 

 

 

By: Ian Bryson - ibryson

RE: Error after upgrading to 0.5.0

2003-07-08 03:28

Platform is NT and jdk is below.

 

C:projectsims>java -version

java version "1.3.1_07"

Java 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)

Java HotSpot Client VM (build 1.3.1_07-b02, mixed mode)

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