Thanks for noticing. This was broken by: http://svn.apache.org/viewvc?rev=1055034&view=rev ...and is now fixed by: http://svn.apache.org/viewvc?rev=1058295&view=rev
There was a comment there saying not to change HashMap to Map, but it seems it got overlooked. On 12.01.2011 12:06:03 Philippe Pithon wrote: > Hi, > > I use now FOP Trunk Snapshot (20110110) and barcode4j-fop-ext-complete.jar > > With FOP 1.0, barcode works fine but in trunk, there is an error > > Any ideas ? > > Philippe Pithon > > > Caused by: java.lang.NoSuchFieldError: foObjs > at > org.krysalis.barcode4j.fop.BarcodeElementMapping.initialize(BarcodeElementMapping.java:49) > at > org.krysalis.barcode4j.fop.BarcodeElementMapping.<init>(BarcodeElementMapping.java:39) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at java.lang.Class.newInstance0(Class.java:355) > at java.lang.Class.newInstance(Class.java:308) > at > org.apache.fop.fo.ElementMappingRegistry.addElementMapping(ElementMappingRegistry.java:97) > at > org.apache.fop.fo.ElementMappingRegistry.setupDefaultMappings(ElementMappingRegistry.java:80) > at > org.apache.fop.fo.ElementMappingRegistry.<init>(ElementMappingRegistry.java:67) > at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:162) > at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:185) > > > XSL usecase: > > <fo:instream-foreign-object> > <barcode:barcode msg="{$TOTAL}" orientation="-90"> > <barcode:code39> > <barcode:height>32pt</barcode:height> > </barcode:code39> > </barcode:barcode> > </fo:instream-foreign-object> > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org