When I run the cfdocument tag you cite in my own version, I just get a OutOfMemoryError.
This leads me to think that there's more source code than what's in your example, like some content and a closing tag?
Also, IndexOutOfBoundsException implies that you were looping through something?
Does that looping part work without the cfdocument tags?
Al

On 3/20/2017 11:49 AM, Hai wrote:
Hi everyone,

I have an error with this tag <cfdocument format="pdf" marginleft="1" marginright="1">. I'm using opendb 3.1 with tomcat.

Source:
1: 
2: <cfdocument format="pdf" marginleft="1" marginright="1">
3: 
4: <html>
5: <head>
^ Snippet from underlying CFML source



Stack Trace:
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.xhtmlrenderer.newtable.TableSectionBox.cellAt(TableSectionBox.java:102)
	at org.xhtmlrenderer.newtable.TableRowBox.calcRowHeight(TableRowBox.java:362)
	at org.xhtmlrenderer.newtable.TableRowBox.calcLayoutHeight(TableRowBox.java:319)
	at org.xhtmlrenderer.render.BlockBox.layout(BlockBox.java:837)
	at org.xhtmlrenderer.newtable.TableRowBox.layout(TableRowBox.java:89)
        .....................

Would anyone know how to fix it?  Thanks in advance!

Hai

      

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.



--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to