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
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
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
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
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.
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