|
I should mention that this only happens
when the element in question is off-canvas. Michael Bishop From: Bishop, Michael
W. CONTR J9C880 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 |
RE: NullPointerException SVGMatrix.getXXX();
Bishop, Michael W. CONTR J9C880 Mon, 27 Feb 2006 08:42:39 -0800
- RE: NullPointerException SVGMatrix.getXXX(... Bishop, Michael W. CONTR J9C880
- RE: NullPointerException SVGMatrix.ge... thomas . deweese
- NullPointerException SVGMatrix.getXXX... Bishop, Michael W. CONTR J9C880
