NPE in XMLWriterBase.startTagNamespaces when using translation tables
---------------------------------------------------------------------

                 Key: JIBX-267
                 URL: http://jira.codehaus.org/browse/JIBX-267
             Project: JiBX
          Issue Type: Bug
          Components: core
    Affects Versions: JiBX 1.2
            Reporter: Nigel Charman
            Assignee: Dennis Sosnoski
            Priority: Critical
             Fix For: JiBX 1.2
         Attachments: namespace-bug.zip

     [java] Exception in thread "main" java.lang.NullPointerException
     [java]     at 
org.jibx.runtime.impl.XMLWriterBase.startTagNamespaces(XMLWriterBase.java:234)
     [java]     at 
org.jibx.runtime.impl.MarshallingContext.startTagNamespaces(MarshallingContext.java:950)
     [java]     at example10.JiBX_bindingTimeTable_access.marshal()
     [java]     at example10.TimeTable.marshal(TimeTable.java)

occurs in JiBX/WS when using mappings with over 3 namespaces.  (JiBX/WS itself 
is declaring 3 namespaces).

See attached test case which uses similar code to JiBX/WS but runs as a 
standalone app .  Unzip to jibx distribution root folder (same level as 
tutorial). Run "ant" to reproduce the issue.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to