I could not understand, were you just sending an endElement without a
stateElement?

(I can't check the line number right now, I have a newer copy on my
machine that hopefully fixes this bug.)

arkin

Boris Garbuzov wrote:
> 
>     String unexistingName = "unexistingName";
>     documentHandler.endElement (unexistingName);
> 
> Even if I misuse the API (I should not call this directly?) it should have 
> failed friendlier than this:
> 
> java.lang.NullPointerException:
>  at
> org.apache.xml.serialize.XMLSerializer.endElement(XMLSerializer.java:307)
> 
>  at
> org.apache.xml.serialize.XMLSerializer.endElement(XMLSerializer.java:421)
> 
>  at
> com.keystrokenet.loanproduct.xml.test.Lab.executeTestBody(Lab.java:442)
> 
> 

-- 
----------------------------------------------------------------------
Assaf Arkin                                           www.exoffice.com
CTO, Exoffice Technologies, Inc.                        www.exolab.org


Reply via email to