bloomper Posted February 19, 2010 Share Posted February 19, 2010 Hi!Is it correct that nested list components are not supported?When trying to do this, I get the following exception:java.lang.NullPointerException at net.sf.jasperreports.engine.JRExpressionCollector.getDatasetCollector(JRExpressionCollector.java:284) ....iReport does not seem to handle this as well as the nested list component is blank although it does contain elements.I need to visualize the following data in a tabular manner: <Activity> <Engagement> <Year>2010</Year> ... </Engagement> <Functions> <Function> <Name>Test</Name> <SubFunctions> <SubFunction> ... </SubFunctions> </SubFunctions> </Function> </Functions> </Activity>I do understand that subreports might be a better choice but the list component is so much easier to work with.Cheers,Anders Link to comment Share on other sites More sharing options...
lucianc Posted February 23, 2010 Share Posted February 23, 2010 Indeed, that doesn't work at the moment. Log a bug for it and we'll try to come up with a solution.Regards,Lucian Link to comment Share on other sites More sharing options...
ernestoo Posted January 19, 2013 Share Posted January 19, 2013 I'm not 100% sure when the functionality was added but I just made a report in JR 5.0 that has nested list elements! Good stuff 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