FOP Trunk Snapshot (fop-20110110.jar) : barcode4j
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.(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.(ElementMappingRegistry.java:67) at org.apache.fop.apps.FopFactory.(FopFactory.java:162) at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:185) XSL usecase: 32pt - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP Trunk Snapshot (fop-20110110.jar) : barcode4j
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.(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.(ElementMappingRegistry.java:67) > at org.apache.fop.apps.FopFactory.(FopFactory.java:162) > at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:185) > > > XSL usecase: > > > > > 32pt > > > > > Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP Trunk Snapshot (fop-20110110.jar) : barcode4j
Why does this cause an error? I see no problem in barcode's method BarcodeElementMapping.initialize. In eclipse I can compile barcode without errors with FOP from before your latest fix. Simon On Wed, Jan 12, 2011 at 09:01:45PM +0100, Jeremias Maerki wrote: > 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.(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.(ElementMappingRegistry.java:67) > > at org.apache.fop.apps.FopFactory.(FopFactory.java:162) > > at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:185) - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP Trunk Snapshot (fop-20110110.jar) : barcode4j
Yes, you can probably recompile, but the change violated binary backwards-compatibility. I've put the comment there precisely because of that reason. I've had to revert the same change once before. On 13.01.2011 11:01:15 Simon Pepping wrote: > Why does this cause an error? I see no problem in barcode's method > BarcodeElementMapping.initialize. In eclipse I can compile barcode > without errors with FOP from before your latest fix. > > Simon > > On Wed, Jan 12, 2011 at 09:01:45PM +0100, Jeremias Maerki wrote: > > 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.(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.(ElementMappingRegistry.java:67) > > > at org.apache.fop.apps.FopFactory.(FopFactory.java:162) > > > at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:185) > Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP Trunk Snapshot (fop-20110110.jar) : barcode4j
I try fop-20110113.jar this morning It's works fine now Thanks Jeremias Philippe Pithon Le 13/01/2011 11:08, Jeremias Maerki a écrit : Yes, you can probably recompile, but the change violated binary backwards-compatibility. I've put the comment there precisely because of that reason. I've had to revert the same change once before. On 13.01.2011 11:01:15 Simon Pepping wrote: Why does this cause an error? I see no problem in barcode's method BarcodeElementMapping.initialize. In eclipse I can compile barcode without errors with FOP from before your latest fix. Simon On Wed, Jan 12, 2011 at 09:01:45PM +0100, Jeremias Maerki wrote: 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.(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.(ElementMappingRegistry.java:67) at org.apache.fop.apps.FopFactory.(FopFactory.java:162) at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:185) Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org