What Does [ERROR] -2 Mean
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 you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
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 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 Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
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 array index like this would come from. --- Jeremias Maerki [EMAIL PROTECTED] wrote: 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 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 Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
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 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 array index like this would come from. --- Jeremias Maerki [EMAIL PROTECTED] wrote: 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 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 Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
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. On 20.06.2003 21:04:31 Michael Duffy wrote: 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 array index like this would come from. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
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 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. On 20.06.2003 21:04:31 Michael Duffy wrote: 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 array index like this would come from. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]