omarzeballos Posted July 5, 2010 Share Posted July 5, 2010 HI,I have the next problem using Table Compoment in ireport 3.7.3ThanksCode:Error filling print... net.sf.jasperreports.engine.fill.JRFillElementGroup cannot be cast to net.sf.jasperreports.engine.fill.JRFillBandjava.lang.ClassCastException: net.sf.jasperreports.engine.fill.JRFillElementGroup cannot be cast to net.sf.jasperreports.engine.fill.JRFillBand at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:546) at net.sf.jasperreports.engine.fill.JRFillSection.<init>(JRFillSection.java:74) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getSection(JRFillObjectFactory.java:525) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:82) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:501) at net.sf.jasperreports.engine.fill.JRFillTextField.<init>(JRFillTextField.java:82) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitTextField(JRFillObjectFactory.java:709) at net.sf.jasperreports.engine.fill.JRFillTextField.visit(JRFillTextField.java:769) at net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:88) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:82) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitElementGroup(JRFillObjectFactory.java:569) at net.sf.jasperreports.engine.fill.JRFillElementGroup.visit(JRFillElementGroup.java:294) at net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:88) at net.sf.jasperreports.engine.fill.JRFillElement.<init>(JRFillElement.java:162) at net.sf.jasperreports.engine.fill.JRFillSubreport.<init>(JRFillSubreport.java:121) at net.sf.jasperreports.components.table.fill.FillTableSubreport.<init>(FillTableSubreport.java:61) at net.sf.jasperreports.components.table.fill.FillTable.createFillTableSubreport(FillTable.java:256) at net.sf.jasperreports.components.table.fill.FillTable.createFillSubreport(FillTable.java:219) at net.sf.jasperreports.components.table.fill.FillTable.evaluate(FillTable.java:101) at net.sf.jasperreports.engine.fill.JRFillComponentElement.evaluate(JRFillComponentElement.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:258) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:499) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2026) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:618) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:540) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:267) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:127) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:942) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:877) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Print not filled. Try to use an EmptyDataSource... 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