Re: NullPointerException when using insertBefore() method

2005-02-16 Thread Thomas DeWeese
Hi Dmitrij, Dmitrij Sakara wrote: I have a problem with insertBefore method. The execution of a line What version of Batik? - 1.5.1 I presume. element.insertBefore(element.getFirstChild(), someElement); leads to exception: java.lang.NullPointerException Can you build a debug version of Bat

NullPointerException when using insertBefore() method --- I'M SO SORRY!!!!!!!

2005-02-16 Thread Dmitrij Sakara
Title: Message Sorry for the previous message Quite stupid mistake! Batik is the BEST!     ___ Dmitrij SAKARASTI IPR LICPSwiss Federal Institute of Technology (EPFL)Me - EcublensCH-1015 LausanneSwitzerland Tel. : +41 (0)21 / 693 5913Fax. : +41

NullPointerException when using insertBefore() method

2005-02-16 Thread Dmitrij Sakara
Title: Message Hi   Thanks for great help with the Batik!   I have a problem with insertBefore method. The execution of a line    element.insertBefore(element.getFirstChild(), someElement);   leads to exception   java.lang.NullPointerException at org.apache.batik.dom.AbstractParentNode$Ch