What Does [ERROR] -2 Mean

2003-06-20 Thread Michael Duffy
I just ran FOP with an FO stylesheet that gave me [ERROR] -2 for output and no PDF. What does it mean? I could go back through my stylesheet and remove changes until the thing works again, but I'd love a clue for figuring out what to fix. Thanks - MOD __ Do

Re: What Does [ERROR] -2 Mean

2003-06-20 Thread Jeremias Maerki
No idea. Try the -d option on the command line to get a more meaningful error message (a stacktrace I hope). Maybe that helps. On 20.06.2003 20:25:38 Michael Duffy wrote: I just ran FOP with an FO stylesheet that gave me [ERROR] -2 for output and no PDF. What does it mean? I could go

Re: What Does [ERROR] -2 Mean

2003-06-20 Thread Michael Duffy
I just did that five minutes before reading your note, Jeremias. (Great minds thinking alike.) There's more info now: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.java:130) Not much help - I don't know where an

Re: What Does [ERROR] -2 Mean

2003-06-20 Thread Michael Duffy
Found it - foolish user error. I had cut pasted some table cells and forgot to remove unnecessary number-columns-spanned attributes. My apologies. - MOD --- Michael Duffy [EMAIL PROTECTED] wrote: I just did that five minutes before reading your note, Jeremias. (Great minds thinking

Re: What Does [ERROR] -2 Mean

2003-06-20 Thread Jeremias Maerki
Looking at the code I think it could be some problem with cell spanning, a negative number where it should be positive, for example. If that doesn't help comment out portions of your FO or stylesheet to circle in the problem location. Check the numbers of columns defined and used in your tables.

Re: What Does [ERROR] -2 Mean

2003-06-20 Thread Michael Duffy
You are exactly right, Jeremias. I had a spanning problem that went away when I took those out. Good eye - you know this well. It's impressive to be able to spot an error with so little info. Thanks - MOD --- Jeremias Maerki [EMAIL PROTECTED] wrote: Looking at the code I think it could be