Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #397 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

`traverse_data': undefined method `[]' for nil:NilClass (NoMethodError)

Reported by: nahi Assigned to: nahi
Priority: normal Milestone: 1.5.8
Component: soap4r Version: 1.5
Keywords: Cc:

Description

There's an implementation which returns strange multi-dimentional array.

          <foo xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="SOAP-ENC:Array[3,3]">
            <item>
              <bar xsi:type="xsd:int">0</bar>
              <baz xsi:type="xsd:int">1</baz>
              <qux xsi:type="xsd:int">2</qux>
            </item>
            <item>
              <bar xsi:type="xsd:int">3</bar>
              <baz xsi:type="xsd:int">4</baz>
              <qux xsi:type="xsd:int">5</qux>
            </item>
            <item>
              <bar xsi:type="xsd:int">6</bar>
              <baz xsi:type="xsd:int">7</baz>
              <qux xsi:type="xsd:int">8</qux>
            </item>
          </foo>

This causes an error. Strange but should be parsable.

Change History

08/04/07 23:59:47 changed by nahi

  • status changed from new to closed.
  • resolution set to fixed.

(In [1910]) * do not crash when parsing an incomplete multi-dimentional arraay. closes #397.