DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20708>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20708

NPE with using setWriteEmptyElements(false);

           Summary: NPE with using setWriteEmptyElements(false);
           Product: Commons
           Version: Nightly Builds
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Betwixt
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm using the source from the CVS repository as of 5:00pm -0500 on June 4th.

This happens with some beans, but not others.  I've included a test that uses
both bean types.

java.lang.NullPointerException
        at org.apache.commons.betwixt.digester.XMLIntrospectorHelper.isLoopType
(XMLIntrospectorHelper.java:575)
        at org.apache.commons.betwixt.io.AbstractBeanWriter.isEmptyElement
(AbstractBeanWriter.java:856)
        at org.apache.commons.betwixt.io.AbstractBeanWriter.ignoreElement(
AbstractBeanWriter.java:814)
        at org.apache.commons.betwixt.io.AbstractBeanWriter.writeElement(
AbstractBeanWriter.java:536)
        at org.apache.commons.betwixt.io.AbstractBeanWriter.writeBean
(AbstractBeanWriter.java:282)
        at org.apache.commons.betwixt.io.AbstractBeanWriter.write
(AbstractBeanWriter.java:193)
        at org.apache.commons.betwixt.io.AbstractBeanWriter.write
(AbstractBeanWriter.java:164)
        at org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:231)
        at BetwixtTest.main(BetwixtTest.java:44)
Exception in thread "main"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to