Hi all, I have the following code for transformation element coordinates to screen: Element root = svgElement.getOwnerDocument().getDocumentElement(); SVGMatrix matrix = ((SVGTransformable) svgElement).getTransformToElement((SVGElement) root); SVGPoint p = new SVGOMPoint(0, 0); p = p.matrixTransform(matrix); I receive the nullPointerException during the matrixTransform execution java.lang.NullPointerException at org.apache.batik.dom.svg.SVGLocatableSupport$4.getAffineTransform(Unknow n Source) at org.apache.batik.dom.svg.AbstractSVGMatrix.getA(Unknown Source) at org.apache.batik.dom.svg.SVGOMPoint.matrixTransform(Unknown Source) Variables matrix and p are not null. What can be a problem?
___________________________________________ Dmitrij SAKARA STI IPR LICP Swiss Federal Institute of Technology (EPFL) Me - Ecublens CH-1015 Lausanne Switzerland Tel. : +41 (0)21 / 693 5913 Fax. : +41 (0)21 / 693 3509 e-mail : [EMAIL PROTECTED] My office at EPFL: http://map.epfl.ch/?room=MEA1382 ___________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]