Hi Gregory, I'd generate a fo file which throws the exception. Then I'd start by removing all image blocks. Check, if exception is still thrown. Then remove one page-sequence a time until only the page-sequence throwing the exception remains. Then the same for top-level blocks. And so on. And then I'd replace all text with dummy text. If that was all successfull, I'd have a short fo file without images or copyrighted text. I'd even try to remove as many attributes as possible. And that's what Vincent wants.
Regards, Georg Datterl ------ Kontakt ------ Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH: www.irs-nbg.de Willmy PrintMedia GmbH: www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -----Ursprüngliche Nachricht----- Von: Gregory Buchenberger [mailto:[email protected]] Gesendet: Freitag, 5. März 2010 16:19 An: [email protected] Betreff: Re: java.lang.IllegalArgumentException: Only non-null Positions with an index can be checked Vincent, Unfortunately, the FO file is over 2MB and is accompanied by over 400MB of images. In addition, it is copyrighted primary grade textbook material that I can't distribute on a mailing list. Can you give me an idea of where to look? If I can find the offending XSL I will happily send a condensed example. Thanks, Gregory Buchenberger, CDIA+, ECMs Eightfold Consulting 15710 W. 3rd Place #4 Golden, CO 80401 720-259-7779 Office 720-299-2386 Mobile 877-713-5342 Fax www.eightfoldconsulting.com On Fri, Mar 5, 2010 at 3:49 AM, Vincent Hennebert <[email protected]> wrote: > > Hi Gregory, > > Can you please post a small XSL-FO file exhibiting the problem? > > Thanks, > Vincent > > > Gregory Buchenberger wrote: > > Hello, > > > > I'm getting the following error when running FOP 1.0dev: > > > > STDERR: (Location of error unknown)java.lang.IllegalArgumentException: > > Only non-null Positions with an index can be checked > > > > The following code in AbstractLayoutManager.java appears to be > > throwing the exception: > > > > private void verifyNonNullPosition(Position pos) { > > if (pos == null || pos.getIndex() < 0) { > > throw new IllegalArgumentException( > > "Only non-null Positions with an index can be checked");} > > > > Does anyone know what could cause the exception? I'm hoping someone > > here is familiar with that bit of code. > > > > Thanks, > > > > Gregory Buchenberger, CDIA+, ECMs > > Eightfold Consulting > > 15710 W. 3rd Place #4 > > Golden, CO 80401 > > 720-259-7779 Office > > 720-299-2386 Mobile > > 877-713-5342 Fax > > www.eightfoldconsulting.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
