Hello Helder,

this morning I was able to reactivate Batik 1.8 pre in our application, because 
some other problems have been fixed.
The concurrent modification exception is not reproducable at the moment, but 
there is another exception occuring:

Using the following code, the exception below occurs.

// stop animation engine, if any
UpdateManager updateMgr = this.getUpdateManager();
if (updateMgr != null)
{
  try
  {
      BridgeContext bridgeContext = updateMgr.getBridgeContext();
      AnimationEngine animationEngine = bridgeContext.getAnimationEngine();
      animationEngine.pause();
  }
  catch (Exception e)
  {
      logger.log(Level.WARNING, "Error JSVGCanvas kickoffTransition", e);
  }
}

java.lang.NullPointerException
        at org.apache.batik.bridge.SVGAnimationEngine.<init>(Unknown Source) 
[batik-all-jar-1.8.jar:1.8pre+r]
        at 
org.apache.batik.bridge.BridgeContext.getAnimationEngine(BridgeContext.java:726)
 [batik-all-jar-1.8.jar:1.8pre+r]
        .... (non batik code)

Perhaps you can extract some problems there.

Thanks

Florian Pepping

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - 
Florian Pepping                         Wincor Nixdorf International GmbH
Banking Division                        Product Development (PSD5)
Phone: +49 5251 693 6471                Heinz-Nixdorf-Ring 1
Fax: +49 5251 693 6309                  D-33106 Paderborn
[EMAIL PROTECTED]      http://www.wincor-nixdorf.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - 


-----Original Message-----
From: Helder Magalhães [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2008 2:55 PM
To: [email protected]
Subject: Re: Some current batik observations

Hi Florian Pepping,

> However, the overall situation concerning performance of animations and
> other functions of batik seems to have decreased at the moment.
> We tested the (self-builded) trunk version in our application for a few
> days, but we have
> to step back to the 1.7 version. That's because of many exceptions occur
> (concurrent modification,
> missing fields and some other) and the animations are somewhat
> unaccurate and slow.

It would be great if you could share a few example which would
demonstrate the potential regressions, specially regarding
performance. I recall a couple of changes which could take up a small
additional overhead, but nothing relevant. The concurrent modification
issues is definitely worth a better analysis, specially if you are
already following the thread-safe recommendations [1] and/or have
looked into potential issues within the FAQ [2].


> Perhaps this information may be helpful, otherwise
> just leave it anywhere.

As state, the information will be increasingly helpful as more
details/test cases are provided. Please consider reducing and sharing
a few test cases and/or more details: this may, inclusively, help you
find bugs and/or architecture problems which may be haunting your own
application... ;-)


> Thanks and greetings
>
> Florian Pepping

Cheers,

 Helder Magalhães


[1] http://xmlgraphics.apache.org/batik/using/scripting/java.html#N1002A
[2] http://xmlgraphics.apache.org/batik/faq.html#N10203

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


-- 
WINCOR NIXDORF International GmbH 
Sitz der Gesellschaft: Paderborn 
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen 
Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller 
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige 
Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie 
bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte 
Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended 
recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden. 


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

Reply via email to