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

type mismatch: cannot convert from boolean to Object


christmoney1

Recommended Posts

Hello everybody, 

i've this message error type mismatch: cannot convert from boolean to Object from this expression 

$P{Program}==null || ($P{Program}!=null && $F{programme}.equalsIgnoreCase( $P{Program} ))

 When i click on the buton preview to see my report.

 

There is someone who can help me for this?

Sincerely

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi Gustavofarias.

Thank you very much for your help.

I've changed the class element to the type Object as you may see on the screenshot attached.

But the probléme is not resolved. I have the same error: type mismatch: cannot convert from boolean to Object

Could you tell me in détail where can i do this? The result of the expression is boolean. But you must be putting it in an element of type object.

Sincerely.

 

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