PDA

View Full Version : Problem in Win98



Anonymous
09-15-2002, 01:06 AM
Hi,

My report works fine in XP but when I try to run it from win98 it shows nothing and in trying to save as pdf it shows the following error:
(Jfreerepot version 0.7.5b)



java.lang.IndexOutOfBoundsException: Index: -1, Size: 1

at java.util.ArrayList.RangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at myTable.getValueAt(myTable.java:45)

at com.jrefinery.report.Band.populateElements(Band.java:264)

at com.jrefinery.report.JFreeReport.processPage(JFreeReport.java:683)

at com.jrefinery.report.JFreeReport.repaginate(JFreeReport.java:593)

at com.jrefinery.report.JFreeReport.processReport(JFreeReport.java:558)

at com.jrefinery.report.preview.PreviewFrame.attemptSaveAs(PreviewFrame.java:562)

at com.jrefinery.report.preview.PreviewFrame$DefaultSaveAsAction.run(PreviewFrame.java:152)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)



Thanks in advance,
Payam

Anonymous
09-15-2002, 01:43 AM
I found the reason of error, it's related to items height defintion in my report xml file it was 560 when I decreased it (for example) 360 it worked fine, but in this way it lose some part of my report page. Any Idea?

Thanks,
Payam