Jump to content
  • NPE on getting the fields from a DataSourceProvider if using crosstabs


    rudolfweber2
    Assigned User Giulio Toffoli
    CategoryBug report
    PriorityNormal
    ReproducibilityAlways
    ResolutionOpen
    SeverityMinor
    StatusAssigned

    If you try to write you own JRDataSourceProvider you got a NPE Reports using Crosstabs.

     

    From Jasper Report 3.7.1 there is a method ReportQueryDialog::jButton2ActionPerformed(java.awt.event.ActionEvent evt)

     

    Inside that method net.sf.jasperreports.engine.JasperReport jr = new net.sf.jasperreports.engine.JasperReport(report,"",null,null,"");

    ist called. And here is the JRExpressionCollector initialised with null!

     

    this variable is used inside JRBaseObjectFactory::visitCrosstab(JRCrosstab crosstab)

     

    here it is also null and the variable not checked to null.

     

    Then you got the NPE

     



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