Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to Modify/Customize "Not enough space to render the crosstab" Error Message When Creating Ad-Hoc Report With Custom Template


    asimkin
    • Features: Ad Hoc, Localization Version: v6.3

    Issue Description

    I created a crosstab Ad Hoc view with more than 7 columns and saved it without any issues.

    When I try to create a report using a custom developed template or any other except 'Actual Size', I get "Not enough space to render the crosstab." error.

    I'd like to modify the error message to be clearer for our end-users.


    Resolution

    The 'Actual size' template works for the crosstab because it allows the crosstab to freely stretch horizontally to the right.

    The other templates impose the crosstab to fit within the page width, and if the crosstab has many row groups, the group headers do not fit within the page. As a result, "Not enough space to render the crosstab." error generated

    PLEASE NOTE: the solution described here requires modification one of core jar package and is not officially supported. It's up to your responsibility to apply it.

    The error message is taken from jasperreports_message.properties file locate in WEB-INFlibjasperreports-X.Y.Z.jar file.

    1. Obtain the file from the server

    2. Unpack the file (it is a zip archive)

    3. Open jasperreports_message.properties file in text editor, locate string

      net.sf.jasperreports.exception.crosstabs.not.enough.space=Not enough space to render the crosstab
      
    4. Change the error message to required value

    5. Pack all files back into jasperreports-X.Y.Z.jar archive and replace it in WEB-INFlib folder (TIBCO JasperReports® Server should be stopped).

    Solution tested with TIBCO JasperReports Server v.6.3.0


    Ref. Case 01443237


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...