xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Aymé <julien.a...@gmail.com>
Subject Re: unable to use afp:resource-level="external" for <fo:external-graphic>
Date Tue, 17 Aug 2010 10:56:38 GMT
Hi Pete,

you're right, there is a bug there (line 161 on trunk), but it is not
fixed yet (on trunk, rev 986204).

Regards,
Julien

2010/8/17 Peter Hancock <peter.hancock@gmail.com>:
> Hi,
> There is a bug in src/java/org/apache/fop/afp/AFPStreamer.java around line 160:
>  Iterator it = pathResourceGroupMap.entrySet().iterator();
> should be
>  Iterator it = pathResourceGroupMap.values().iterator();
>
> I think I fixed this is a patch I submitted recently.  Let me check..
>
> Pete
>
> On Tue, Aug 17, 2010 at 11:24 AM, Julien Aymé <julien.ayme@gmail.com> wrote:
>> Hi,
>>
>> Could you provide the full stack trace, so that we can investigate the code?
>>
>> Thanks,
>>
>> Julien
>>
>> 2010/8/17 Mrutyunjay Sahasrabudhe <mrutsaha@techmahindra.com>:
>>> Hi,
>>>
>>> I am using FOP 1.0 version.
>>>
>>> I am trying to use the afp:resource-level="external" for <fo:external-graphic>
>>> but getting an exception as below:
>>>
>>> java.lang.ClassCastException: java.util.HashMap$Entry cannot be cast to
>>> org.apache.fop.afp.modca.StreamedResourceGroup
>>>
>>> I did check replies on a similar query posted earlier and ensured that the
>>> user running FOP does have write persmissions to the file/directory where the
>>> external resource file is expected to be created.
>>>
>>> It would be really great if you could help here.
>>>
>>> Thanks & regards,
>>> Mrutyunjay
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
>
> ---------------------------------------------------------------------
> 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