Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: NullPointer Exceptions in AbstractBandLayoutManager

  1. #1
    Join Date
    Apr 2003
    Posts
    11

    Default NullPointer Exceptions in AbstractBandLayoutManager

    Hi !

    I installed the new version 0.8.3b and now i am getting Nullpointer-Exceptions in AbstractBandLayoutManager.getElementContentBounds() in line 220 while previewing the report. But the report looks good.

    Here is the callstack:
    Code:
    DEBUG: Exception: 
    java.lang.NullPointerException
    	at com.jrefinery.report.targets.base.bandlayout.AbstractBandLayoutManager.getElementContentBounds(AbstractBandLayoutManager.java:220)
    	at com.jrefinery.report.targets.base.bandlayout.StaticLayoutManager.getMinimumSize(StaticLayoutManager.java:157)
    	at com.jrefinery.report.targets.base.bandlayout.StaticLayoutManager.minimumLayoutSize(StaticLayoutManager.java:431)
    	at com.jrefinery.report.targets.base.bandlayout.BandLayoutManagerUtil.doLayout(BandLayoutManagerUtil.java:156)
    	at com.jrefinery.report.targets.pageable.pagelayout.SimplePageLayouter.doLayout(SimplePageLayouter.java:720)
    	at com.jrefinery.report.targets.pageable.pagelayout.SimplePageLayouter.print(SimplePageLayouter.java:677)
    	at com.jrefinery.report.targets.pageable.pagelayout.SimplePageLayouter.printBand(SimplePageLayouter.java:655)
    	at com.jrefinery.report.targets.pageable.pagelayout.SimplePageLayouter.reportFinished(SimplePageLayouter.java:497)
    	at com.jrefinery.report.function.LevelledExpressionList.reportFinished(LevelledExpressionList.java:239)
    	at com.jrefinery.report.states.ReportState.fireReportFinishedEvent(ReportState.java:736)
    	at com.jrefinery.report.states.PreReportFooterState.advance(PreReportFooterState.java:71)
    	at com.jrefinery.report.targets.pageable.PageableReportProcessor.processPage(PageableReportProcessor.java:584)
    	at com.jrefinery.report.targets.pageable.PageableReportProcessor.repaginate(PageableReportProcessor.java:374)
    	at com.jrefinery.report.preview.ReportPane.repaginate(ReportPane.java:770)
    	at com.jrefinery.report.preview.PreviewProxyBase$2.run(PreviewProxyBase.java:1743)
    	at com.jrefinery.report.util.Worker.run(Worker.java:134)

    Is the exception critical ? How can i fix it ?

    bye
    Joerg

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Hi,

    the method did not expect the case when the content for the element is null ... this bug is non fatal and now fixed ...

    An updated release with some more bugfixes will be released tomorrow ...

    Have more fun,
    said Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.