|
I have a situation when I select multiple objects and do a
copy and paste with them. I show the copied elements as selected, so I have to
get their bounding box. When I get the SVGMatrix from the SVGLocatable and
then try to call SVGMatrix.getA() (or any of the other matrix elements), I get
a NullPointerException. This occurs inside the Batik code with getting an
AffineTransform, etc. My work-around is this (inside a for loop that tries to
bound all selected elements): try { matrix.getA(); } catch (NullPointerException npExeception) { continue; } Obviously this is not ideal. Has this problem been resolved
in nightly builds? This is a test run against the 1.6 final release. Michael Bishop |
NullPointerException SVGMatrix.getXXX();
Bishop, Michael W. CONTR J9C880 Mon, 27 Feb 2006 09:23:05 -0800
- NullPointerException SVGMatrix.getXXX(); Bishop, Michael W. CONTR J9C880
- RE: NullPointerException SVGMatrix.ge... thomas . deweese
