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 <[email protected]>: > 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é <[email protected]> wrote: >> Hi, >> >> Could you provide the full stack trace, so that we can investigate the code? >> >> Thanks, >> >> Julien >> >> 2010/8/17 Mrutyunjay Sahasrabudhe <[email protected]>: >>> 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: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
