List printing

User f006038a17

09-12-2009 14:02:35

Hi,


Starting from a list, I cannot print any grid view or any form view. The following error message appeared:


java.lang.IndexOutOfBoundsException: Index: 250, Size: 4
 at java.util.ArrayList.RangeCheck(Unknown Source)
 at java.util.ArrayList.get(Unknown Source)
 at com.im.df.impl.db.ResultSetImpl$VS.getIdAt(ResultSetImpl.java:588)
 at com.im.df.impl.db.ResultSetImpl$VS.parentSelectionUpdated(ResultSetImpl.java:520)
 at com.im.df.impl.db.ResultSetImpl$VS.access$3(ResultSetImpl.java:512)
 at com.im.df.impl.db.ResultSetImpl$VS$3.propertyChange(ResultSetImpl.java:465)
 at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188)
 at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
 at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
 at com.im.df.impl.db.ResultSetImpl$VS.setSelection(ResultSetImpl.java:649)
 at com.im.ijc.jrprinting.JRPrint.createIJCDataSource(JRPrint.java:618)
 at com.im.ijc.jrprinting.JRPrint.startPrint(JRPrint.java:241)
 at com.im.ijc.jrprinting.JRPrint.phase1InRequestProcessor(JRPrint.java:419)
 at com.im.commons.progress.BackgroundRunner.processTheTask(BackgroundRunner.java:126)
 at com.im.commons.progress.BackgroundRunner$1.run(BackgroundRunner.java:90)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)


It works with the full database, but not with the lists.


 


Could you fix it.


 


Thank you


 


 

ChemAxon fa971619eb

09-12-2009 14:25:55

Thanks for the bug report.


We will investigate this and fix.


Tim

ChemAxon fa971619eb

03-02-2010 17:48:00

This issue should be fixed in the next IJC version.