Jump to content

Open Report Error with InputStream + hibernate


DuJava

Recommended Posts

When I compile the report using iReport 1.3.0 no errors happen. But when I execute the application the following error happens...

 

java.lang.ClassCastException: [b cannot be cast to java.io.InputStream

 

 

The full print stack is in the attached file.

 

With versions:

 

ireport 1.3.0

hbernate 3.1

jasperreport 1.2.0

 

My property bean on hibernate is a byte[] and this field is setted with InputStream on iReports and no error is catched if there is no data in the field. [file name=printStack.txt size=9048]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/printStack.txt[/file]

Link to comment
Share on other sites

  • 1 month later...
  • Replies 6
  • Created
  • Last Reply

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