Jump to content

Nested list components


bloomper

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 years later...

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