Hello,
An Excexption like this
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: Exception in thread "RunnableQueue-9"
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: java.util.ConcurrentModificationException
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at java.util.HashMap$KeyIterator.next(Unknown Source)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at
org.apache.batik.gvt.UpdateTracker.getDirtyAreas(UpdateTracker.java:71)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at
org.apache.batik.bridge.UpdateManager.repaint(UpdateManager.java:569)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at
org.apache.batik.bridge.UpdateManager$UpdateManagerRunHander.runnableInvoked(UpdateManager.java:870)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at
org.apache.batik.util.RunnableQueue.runnableInvoked(RunnableQueue.java:543)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at
org.apache.batik.util.RunnableQueue.run(RunnableQueue.java:251)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err: at java.lang.Thread.run(Unknown Source)
[2008-09-29 10:41:40,986] INFO [RunnableQueue-9] PrintStreamCollection -
Batik-Err:
looks like that somewhere the dom tree was manipulated outside off the
updateManager Thread ?! Is this correct ?!
And then something like that can happen ?!
java.lang.IllegalStateException: RunnableQueue not started or has exited
at
org.apache.batik.util.RunnableQueue.invokeLater(RunnableQueue.java:277)
at at.pke.ag.SymbolManager.changeAddressState(SymbolManager.java:418)
at at.pke.ag.AGComponent.changeAddressState(AGComponent.java:3013)
at
at.pke.neon.ag.agpanel.AGPanelModel.executeSingleAddressEvent(AGPanelModel.java:1050)
at
at.pke.neon.ag.agpanel.AGPanelModel.eventForAddress(AGPanelModel.java:1042)
at at.pke.neon.ag.HIManager$1.dispatch(HIManager.java:228)
at
at.pke.neon.ag.event.EventDispatcher.fireEvent(EventDispatcher.java:143)
at at.pke.neon.ag.event.EventDispatcher$1.run(EventDispatcher.java:87)
Because the UpdateManger died ?
Is this correct ?! So if this would be correct i have to search for maniplation
of the domtree ?!
Mit freundlichen Grüßen Michael Kerschbaum
DI (FH) Michael Kerschbaum
PKE Electronics AG
Zentrale Wien / Entwicklung
Computerstraße 6
A - 1101 Wien
TEL: +43 (0) 50 150 - 1210
[EMAIL PROTECTED]
www.pke.at <http://www.pke.at/>
Aktiengesellschaft mit dem Sitz in Wien
Firmenbuchnummer 103264i
HG Wien, DVR 0159701
Johann Helf - Vorsitzender des Vorstandes
Bruno Faustka - Mitglied des Vorstandes
Christian Prelz - Vorsitzender des Aufsichtsrates
________________________________
Von: Declan Shanaghy [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. September 2008 21:13
An: [email protected]
Betreff: How to create a RasterImageNode from BufferedImage
Hi,
I wish to create barcodes on the fly from a symbology and data attribute of
A custom 'barcode' element. I have registerde a BrigeExtension class which
extends SVGImageElementBridge
It behaves weirdly though.
When I first load squiggle (with my extensions) my barcodes will
not show up unless I have previously loaded an SVG file with an 'image'
element.
My approach is simply to base64 encode the barcode and stuff it into the
xlink:href attr.
I decided to try another route and I came across this post
which says the BufferedImage could be placed in a RasterImageNode
bu I haven't been able to figure out how to do this.
Can someone please point me onto the right track.
http://osdir.com/ml/text.xml.batik.user/2005-03/msg00166.html
"You can just stuff a buffered image into a GVT RasterImageNode"