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

joshuab

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

joshuab's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi thanks for your response, some more details on my question: The field is called invoiceHeader and it's type is a Java object. The text field that's generating the error has a Text Field expression which is: $F{invoiceHeader}.getInvoiceId() The text field Expression Class is: java.lang.String The error being generated is: Type mismatch: cannot convert from long to Object. The Java method .getInvoiceId() returns a long, which explains part of the error. But what is unclear to me is why iReport Studio is expecting an Object to be returned. Also, as I posted originally, this error is not occurring in other developers environments. Thanks again for your help.
  2. Hi, I'm very new to iReport and I've been given a Jasper report template and a Java datasource to start editing. I've been given instructions on how to setup iReport however when I follow the instructions, I get a number of "Type mismatch: cannot convert from boolean to Object" errors generated when I try to Preview the template. I'm running iReport 5.6.0 on Mac OS X 10.9 and running with JDK 7.65, I've tried changing the JDK version but it hasn't made any difference to the errors. The really strange thing is that I have given the template and datasource to a couple of other developers and talked them through the instructions (so that they followed the exact same steps as I did). One of them is running in OS X and the other running in Windows 7. Both of these developers were able to use the template and Preview it without getting the same problems that I've been having. I've tried a number of things (reinstalled iReport, changed JDK, turned my computer on and off, sacrificed a goat) but I keep on getting these errors. Has anyone seen this error before and have any ideas about what could be causing this error on my machine, while other developers got it working first time (following the exact same steps)? Thanks.
×
×
  • Create New...