Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IncrementTypeEnum Error (Studio, CLI) #465

Open
nkgsisaar opened this issue Jul 29, 2024 · 1 comment
Open

IncrementTypeEnum Error (Studio, CLI) #465

nkgsisaar opened this issue Jul 29, 2024 · 1 comment

Comments

@nkgsisaar
Copy link

When adding a variable in JasperReports Studio there is a prompt displaying an error, also an error message is displayed after compiling the report.

Error in Studio can be seen here: https://community.jaspersoft.com/forums/topic/68693-jasper-report-70-cannot-invoke-netsfjasperreportsenginetypeincrementtypeenumequalsobject/

Error in CLI:

java.lang.RuntimeException: net.sf.jasperreports.jackson.util.JacksonRuntimeException: 
    com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "variableExpression"
    (class net.sf.jasperreports.engine.design.JRDesignVariable), not marked as ignorable 
    (11 known properties: 
        "resetGroup", 
        "initialValueExpression", 
        "expression", 
        "resetType", 
        "incrementerFactoryClass", 
        "name", 
        "description", 
        "incrementGroup", 
        "incrementType", 
        "calculation", 
        "class"]
    )
 at [Source: (ByteArrayInputStream); line: 44, column: 70] 
    (through reference chain: 
        net.sf.jasperreports.engine.design.JasperDesign["variable"]
        ->java.util.ArrayList[0]
        ->net.sf.jasperreports.engine.design.JRDesignVariable["variableExpression"]
    )
@teodord
Copy link
Collaborator

teodord commented Jul 29, 2024

Yes, it is a JSS CE 7 bug. Will be fixed in the new Jaspersoft Studio release.

Thank you,
Teodor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants