Jump to content
Changes to the Jaspersoft community edition download ×

Exception as filling report


diren_006

Recommended Posts

Hi

 

It's urgent and kindaly difficult explain clearly about the jasper design.

But could anyone help to tell me what the possible reason cause the below exception.

 

 

java.lang.NullPointerException

at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.getUserMeasureValues(BucketingService.java:467)

at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.retrieveTotals(BucketingService.java:1222)

at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCell(BucketingService.java:1167)

at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCells(BucketingService.java:1129)at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCells(BucketingService.java:1136)

at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.createCrosstab(BucketingService.java:950)

at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.processData(BucketingService.java:383)

at net.sf.jasperreports.engine.fill.JRFillCrosstab.evaluate(JRFillCrosstab.java:389)

at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:277)

at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:399)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1289)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:631)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:228)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:758)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:685)

at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:498)

at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:63)

at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:137)

at java.lang.Thread.run(Thread.java:534)

 

Thank you~

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi man:

 

I've found the cause of the problem.

 

The cause is I check the "data is presorted", but the actual dataset is random, I mean is in disorder.

 

Then I uncheck "data is presorted", it works well and the outcome is exactly what I want.

 

Thank you!

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