Subject | Jasperreports with subreport and firebird |
---|---|
Author | Csaba Ragasits |
Post date | 2007-03-29T11:21Z |
Hello,
I'm using Firebird (1.5x), Jaybird(2.1.0), jasperreports(1.3.1) and
iReport(1.3.1).
When I create an single reports it's working well.But when I try do
subreport, I've a following errors:
Error filling print... Unable to get next record.
net.sf.jasperreports.engine.JRException: Unable to get next record.
at net.sf.jasperreports.engine.JRResultSetDataSource.next(JRResultSetDataSource.java:99)
at net.sf.jasperreports.engine.fill.JRFillDataset.advanceDataSource(JRFillDataset.java:842)
at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:760)
at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1078)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:111)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:751)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:660)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:234)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:815)
at java.lang.Thread.run(Unknown Source) Caused by:
org.firebirdsql.jdbc.FBSQLException: The result set is closed at
org.firebirdsql.jdbc.FBResultSet.checkCursorMove(FBResultSet.java:217)
at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:249)
at net.sf.jasperreports.engine.JRResultSetDataSource.next(JRResultSetDataSource.java:95)
... 11 more
Print was not filled. Try using an EmptyDataSource...
Have You got any information how can I solve this error?
Thx,
Csaba
I'm using Firebird (1.5x), Jaybird(2.1.0), jasperreports(1.3.1) and
iReport(1.3.1).
When I create an single reports it's working well.But when I try do
subreport, I've a following errors:
Error filling print... Unable to get next record.
net.sf.jasperreports.engine.JRException: Unable to get next record.
at net.sf.jasperreports.engine.JRResultSetDataSource.next(JRResultSetDataSource.java:99)
at net.sf.jasperreports.engine.fill.JRFillDataset.advanceDataSource(JRFillDataset.java:842)
at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:760)
at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1078)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:111)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:751)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:660)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:234)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:815)
at java.lang.Thread.run(Unknown Source) Caused by:
org.firebirdsql.jdbc.FBSQLException: The result set is closed at
org.firebirdsql.jdbc.FBResultSet.checkCursorMove(FBResultSet.java:217)
at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:249)
at net.sf.jasperreports.engine.JRResultSetDataSource.next(JRResultSetDataSource.java:95)
... 11 more
Print was not filled. Try using an EmptyDataSource...
Have You got any information how can I solve this error?
Thx,
Csaba