JiBX
  1. JiBX
  2. JIBX-267

NPE in XMLWriterBase.startTagNamespaces when using translation tables

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: JiBX 1.2 beta 1
    • Fix Version/s: JiBX 1.2
    • Component/s: core
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      [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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Dennis Sosnoski
            Reporter:
            Nigel Charman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: