Jump to content
Changes to the Jaspersoft community edition download ×

Nullpointer for Crosstab fill if no data


Recommended Posts

By: LeeBar - leebar

Nullpointer for Crosstab fill if no data

2006-01-25 16:49

I have Crosstab reports in the summary (or for one case in the footer of a group). If my report does not have any data to display, the crosstab fill process throws an exception:

 

ava.lang.NullPointerException at net.sf.jasperreports.engine.fill.JRFillCrosstab$CrosstabFiller.fill(JRFillCrosstab.java:747)

 

My report has the attribute whenNoDataType set to "AllSectionsNoDetail" because I would like to show the report headers and footers even if it does not have any entries. Of course there is nothing to show for a crosstab - is there a way to not process the crosstab if no data is available?

 

Thanks,

Lee

 

 

 

 

By: Lucian Chirita - lucianc

RE: Nullpointer for Crosstab fill if no data

2006-01-25 22:57

This was fixed some time ago, see

http://sourceforge.net/forum/forum.php?thread_id=1402247&forum_id=113530

 

Regards,

Lucian

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