Jump to content
JasperReports Library 7.0 is now available ×

textField_3 help please!


Recommended Posts

By: Andrea Chiumenti - kiuma

textField_3 help please!

2003-12-11 08:42

Hello i'm trying to build my first report with jasper.

 

when i call JasperPrint jp = JasperManager.fillReport(isReport, null, flussiDS);

 

The manager firstly fills all the variables (i've debugged it).

 

then the method exits with:

HTTP ERROR: 500 Error evaluating expression value : textField_3

 

I really don't know A) what this message is B) how to solve the problem.

 

Please help me. bye.

 

 

 

 

By: Tobias Gaekle - ike987

RE: textField_3 help please!

2003-12-11 08:52

looks like a textFieldExpression can't be evaluated.

you should post your xml report definition.

 

 

 

 

By: Teodor Danciu - teodord

RE: textField_3 help please!

2003-12-11 08:53

 

Hi,

 

This is only the exception message. The cause is

contained in the JRExpression that you catch.

Print the stack trace on the console to see what is

the cause.

Put the fillReport call inside a try/catch if you haven't

already don so.

 

If you get the CVS version, you'll also see the

text of the report expression that throws the exception.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Andrea Chiumenti - kiuma

RE: textField_3 help please!

2003-12-11 09:18

yes it was a class cast exception between an integer and a string in an expression.

 

 

 

 

By: Andrea Chiumenti - kiuma

RE: textField_3 help please!

2003-12-11 09:33

so my expression is :

 

"Tourists flows: " + $F{month}.toString() + $F{year}.toString()

 

what's wrong with that ?

 

 

 

 

 

By: Teodor Danciu - teodord

RE: textField_3 help please!

2003-12-11 10:39

 

Hi,

 

What is the type of the <textFieldExpression>?

Check the "class" attribute.

And what do you use as report compiler?

The BSH compiler?

 

I hope this helps.

Teodor

 

 

 

 

 

By: Gregory A. Swarthout - gswarthout

RE: textField_3 help please!

2003-12-11 11:07

Helpful Hint:

 

If you had included your report xml in your first message, likely we could have helped you long ago.

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