laereba Posted June 29, 2010 Share Posted June 29, 2010 Hey I'm getting the following exception when I try to nest tables.My object contains as attribute a list that itself has a list of other object. I'm capable of creating a tablethat iterates over the first list by when I try to iterate over the sublist i get the following error:net.sf.jasperreports.engine.JRRuntimeException: java.lang.NoClassDefFoundError: report1_InterestingCaseDataSet_1277809238286_246631_InterestingCaseReasonDataSet (wrong name: report1_InterestingCaseReasonDataSet_1277809238286_246631) at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:710) at net.sf.jasperreports.components.table.fill.FillTableSubreport.prepareSubreport(FillTableSubreport.java:156) at net.sf.jasperreports.components.table.fill.FillTable.prepare(FillTable.java:302) at net.sf.jasperreports.engine.fill.JRFillComponentElement.prepare(JRFillComponentElement.java:129) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:329) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:419) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:378) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2018) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:757) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:269) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:127) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:938) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:860) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:84) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:624) ....A part of my jrxml is attached.Does anyone have a idea, what i'm doing wrong?Thanks in advanceCode:<band height="72"> <componentElement> <reportElement key="table 8" style="table 8" x="0" y="32" width="555" height="20"/> <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd"> <datasetRun subDataset="InterestingCaseDataSet"> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{interestingCases})]]></dataSourceExpression> </datasetRun> <jr:column width="90"> <jr:columnHeader style="table 8_CH" height="30" rowSpan="1"> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement x="0" y="0" width="90" height="30"/> <textElement/> <textFieldExpression class="java.lang.String"><![CDATA[$R{report.enquiry.table.interesting.case.header.reason}]]></textFieldExpression> </textField> </jr:columnHeader> <jr:detailCell style="table 8_TD" height="20" rowSpan="1"> <componentElement> <reportElement key="table 14" style="table 14" x="0" y="0" width="90" height="20"/> <jr:table> <datasetRun subDataset="InterestingCaseReasonDataSet"> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{interestingCaseReasons})]]></dataSourceExpression> </datasetRun> <jr:column width="90"> <jr:detailCell style="table 14_TD" height="20"> <textField> <reportElement x="0" y="0" width="90" height="20"/> <textElement/> <textFieldExpression class="java.lang.String"><![CDATA[$F{messageKey}]]></textFieldExpression> </textField> </jr:detailCell> </jr:column> </jr:table> </componentElement> </jr:detailCell> </jr:column> </jr:table> </componentElement> </band> Link to comment Share on other sites More sharing options...
blackflame Posted November 18, 2010 Share Posted November 18, 2010 I'm currently facing the same problem and I can't find any solution. Can somebody put some light on this issue please? Link to comment Share on other sites More sharing options...
sudhir.singh29 Posted March 7, 2013 Share Posted March 7, 2013 Though this is quite an old thread but I am also facing same issue. Is there any update on this? Link to comment Share on other sites More sharing options...
sudhir.singh29 Posted March 7, 2013 Share Posted March 7, 2013 Though this is quite an old thread but I am also facing same issue. Is there any update on this? 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