Hi,
I'm getting an error each time i uncheck my detail section split allowed on
my main report:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        java.util.ArrayList.RangeCheck(Unknown Source)
        java.util.ArrayList.remove(Unknown Source)
        com.opensymphony.xwork2.util.CompoundRoot.pop(CompoundRoot.java:36)
        com.opensymphony.xwork2.util.OgnlValueStack.pop(OgnlValueStack.java:287)

org.apache.struts2.views.jasperreports.ValueStackDataSource.next(ValueStackDataSource.java:123)

net.sf.jasperreports.engine.fill.JRFillDataset.advanceDataSource(JRFillDataset.java:858)
        
net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:776)
        
net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1109)

net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:115)
        
net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:767)
        
net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:690)
        net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)

net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)

org.apache.struts2.views.jasperreports.JasperReportsResult.doExecute(JasperReportsResult.java:240)
        ...

if i check the box, my report is displayed without any errors but the
subreport often split on 2 pages and i can't allow it.

Is anyone getting this kind of problem? Is there another way to force my
detail section to be on the same page?

Thanks in advance

Robin

                       
-------------------------------------------------------------------------------------
I'm using IReport(1.3.2) for designing my .jasper files, and i'm using them
with a struts2 application using jasperreports-1.3.2.
And here are the files 
The main report:
http://www.nabble.com/file/7715/PreventiveMaintenance_report.jrxml
PreventiveMaintenance_report.jrxml 
My subreport (linked on c:\PreventiveMaintenanceSansTasks_subreport0.jrxml
in the main report)
http://www.nabble.com/file/7716/PreventiveMaintenanceSansTasks_subreport0.jrxml
PreventiveMaintenanceSansTasks_subreport0.jrxml 

-- 
View this message in context: 
http://www.nabble.com/Split-Allowed-Bug-tf3536106.html#a9870256
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to