xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Harrop <jhar...@gmail.com>
Subject Re: ArrayIndexOutOfBoundsException in StaticPropertyList.get
Date Mon, 23 Mar 2009 13:50:15 GMT
Thanks for that Jeremias; it solved the problem. .. Jason

On Sun, Mar 22, 2009 at 11:05 PM, Jeremias Maerki
<dev@jeremias-maerki.ch> wrote:
> Just do an "ant clean" followed by an "ant" to get a clean build of FOP.
> What you're seeing is the effect of an inconsistent build. Can happen
> sometimes when updating the working copy after some changes in FOP's
> source code. I've had that a number of times.
>
> On 21.03.2009 14:16:24 Jason Harrop wrote:
>> Hi
>>
>> With the simple document below, on Windows I'm getting the stacktrace
>> which follows it.
>>
>> What is strange is that the document works fine on a Linux box running
>> the same fop jar, built using SVN head from yesterday (r756434)
>>
>> The Arial Unicode MS font is present on both platforms.
>>
>> Any idea what the cause could be?
>>
>> thanks
>>
>> Jason
>>
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" >
>>     <fo:layout-master-set>
>>         <fo:simple-page-master margin-right="2.5cm"
>> margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm"
>> page-width="21cm" page-height="29.7cm" master-name="simple">
>>             <fo:region-body margin-top="3cm"/>
>>             <fo:region-before extent="3cm"/>
>>             <fo:region-after extent="1.5cm"/>
>>         </fo:simple-page-master>
>>     </fo:layout-master-set>
>>     <fo:page-sequence master-reference="simple">
>>         <fo:flow flow-name="xsl-region-body">
>>             <fo:block>
>>                 <block xmlns="http://www.w3.org/1999/XSL/Format"
>> font-family="Arial Unicode MS" font-weight="bold">Arial Unicode MS:
>> abcde</block>
>>             </fo:block>
>>             <fo:block text-align="justify" space-after.optimum="3pt"
>> line-height="15pt" font-family="sans-serif" color="red"
>> font-size="12pt">
>>         rah rah</fo:block>
>>         </fo:flow>
>>     </fo:page-sequence>
>> </fo:root>
>>
>>  java.lang.ArrayIndexOutOfBoundsException: 273
>>       at org.apache.fop.fo.StaticPropertyList.get(StaticPropertyList.java:70)
>>       at org.apache.fop.fo.PropertyList.get(PropertyList.java:155)
>>       at org.apache.fop.fo.flow.Block.bind(Block.java:133)
>>       at org.apache.fop.fo.FObj.processNode(FObj.java:123)
>>       at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:282)
>>       at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
>>       at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>>       at com.bluecast.xml.Piccolo.reportStartTag(Piccolo.java:1082)
>>       at com.bluecast.xml.PiccoloLexer.parseOpenTagNS(PiccoloLexer.java:1471)
>>       at com.bluecast.xml.PiccoloLexer.parseTagNS(PiccoloLexer.java:1360)
>>       at com.bluecast.xml.PiccoloLexer.parseXMLNS(PiccoloLexer.java:1291)
>>       at com.bluecast.xml.PiccoloLexer.parseXML(PiccoloLexer.java:1259)
>>       at com.bluecast.xml.PiccoloLexer.yylex(PiccoloLexer.java:4716)
>>       at com.bluecast.xml.Piccolo.yylex(Piccolo.java:1290)
>>       at com.bluecast.xml.Piccolo.yyparse(Piccolo.java:1400)
>>       at com.bluecast.xml.Piccolo.parse(Piccolo.java:714)
>>       at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>>       ... 1 more
>>
>
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message