This is a problem I'm seeing in batik 1.6...

I have a Swing program that tries to load several SVG documents at the
same time. These images all have within them some <image> tags
that reference (the same) other external SVG document.

When loading these documents at the same time, it appears there is
some sort of race condition that causes the exception below from
all the images, and they all fail to load.

Note that the <image>'s URL references an SVG file, so I'm not
sure why Toolkit.createImage() is being used (as it appears) but
I don't understand the inner workings.

Any ideas?

2006-07-11 19:31:56,991 [AWT-EventQueue-0] ERROR: BasicUserAgent Error:
org.apache.batik.bridge.BridgeException: http://server1.samc.awarix.com/maps/OverflowBeds.svg.gz:-1
The URI "http://test1.example.com/imgs/../test/logo3.svg";
on element <image> can't be opened because:
JDK URL is corrupt or unsupported variant
at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.getBrokenLinkDocument(Unknown Source)
        at org.apache.batik.swing.svg.JSVGComponent$26Query.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to