http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2331

*** shadow/2331 Tue Jun 26 07:08:49 2001
--- shadow/2331.tmp.25827       Tue Jun 26 07:08:49 2001
***************
*** 0 ****
--- 1,58 ----
+ +============================================================================+
+ | fo:basic-link in fo:static-content throws an exception                     |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2331                        Product: Fop                     |
+ |       Status: NEW                         Version: all                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version: All                     |
+ |     Priority: Other                     Component: page-master/layout      |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                       |
+ |  Reported By: [EMAIL PROTECTED]                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I'm using FOP-0.19.0 from the distribution dir.
+ 
+ fo:basic-link in fo:static-content throws an exception. If the 'basic-link' is 
+ removed from the file, it works. See the whole file as an attachment.
+ 
+ ---------------------------------- cut ------------------------
+ <fo:static-content flow-name="xsl-region-after">
+       <fo:block font-family="sans-serif" font-size="11pt" font-weight="bold" 
+ start-indent="5pt" text-align="start">
+       <fo:basic-link external-destination="asdljalfdsj">
+       FOOTER: This does not work, because there is a link
+       </fo:basic-link>
+       </fo:block>
+ </fo:static-content>
+ ---------------------------------- cut ------------------------
+ 
+ The exception:
+ 
+ org.apache.fop.apps.FOPException: -1 < 0
+         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:134)
+         at org.apache.fop.apps.Fop.main(Fop.java:19)
+ 
+ ---------
+ 
+ java.lang.ArrayIndexOutOfBoundsException: -1 < 0
+         at java.util.Vector.elementAt(Vector.java:427)
+         at org.apache.fop.layout.BodyAreaContainer.getCurrentColumnArea(BodyArea
+ Container.java:342)
+         at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:120)
+         at org.apache.fop.fo.flow.Block.layout(Block.java:218)
+         at org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:76)
+         at org.apache.fop.fo.pagination.PageSequence.layoutStaticContent(PageSeq
+ uence.java:377)
+         at org.apache.fop.fo.pagination.PageSequence.formatStaticContent(PageSeq
+ uence.java:344)
+         at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:25
+ 2)
+         at org.apache.fop.fo.pagination.Root.format(Root.java:128)
+         at org.apache.fop.fo.FOTreeBuilder.format(FOTreeBuilder.java:305)
+         at org.apache.fop.apps.Driver.format(Driver.java:480)
+         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:121)
+         at org.apache.fop.apps.Fop.main(Fop.java:19)
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to