Jump to content
We've recently updated our Privacy Statement, available here ×
  • "Calculator not found for java.lang.String" Exception When Opening an Ad Hoc Report


    asimkin
    • Features: Ad Hoc Product: JasperReports® Server

    Issue Description

    When we add a dimension to column grouping we are able to see the data of the dimension in adhoc view,

    but when we create a report and try to view the report it is throwing an error saying:

    "calculator not found for java.lang.String"

     

    How to fix it?


    Resolution

    As it turned out, the error was related to the fact, that Ad-Hoc engine tried to apply Sum() calculation on a field

    which returned integer values but has VARCHAR type in database and java.lang.String type in domain.

    After default aggregation function was changed to CountAll() in domain designer, customer managed to open the report.


    Ref. Case 01464329


    User Feedback

    Recommended Comments

    There are no comments to display.



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