luizruiz Posted April 2, 2007 Share Posted April 2, 2007 Hi, In the code above, if element is in headerCell, it's overwrite with null, the test is missing. Code: public static JRElement getElementByKey(JRCrosstab crosstab, String key) { JRElement element = null; if (crosstab.getHeaderCell() != null) { element = crosstab.getHeaderCell().getElementByKey(key); } element = getHeadersElement(crosstab.getRowGroups(), key); if (element == null) Link to comment Share on other sites More sharing options...
lucianc Posted April 2, 2007 Share Posted April 2, 2007 Thank you for detecting this. A fix has been checked-in on SVN rev. 1697. Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now