java.lang.RuntimeException:双ID CustomSoapEnvelope.resolveReference

java.lang.RuntimeException:双ID CustomSoapEnvelope.resolveReference,java,android,soap,Java,Android,Soap,我在日志中遇到了一个问题,我看到: java.lang.RuntimeException: double ID 03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err: at org.ksoap2.serialization.SoapSerializationEnvelope.resolveReference(SoapSerializationEnvelope.java:462) 03-22 11:59:53.643 1253

我在日志中遇到了一个问题,我看到:

java.lang.RuntimeException: double ID
03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err:     at org.ksoap2.serialization.SoapSerializationEnvelope.resolveReference(SoapSerializationEnvelope.java:462)
03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err:     at pl.eltegps.pgo.soap.CustomSoapEnvelope.resolveReference(CustomSoapEnvelope.java:29)
03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err:     at org.ksoap2.serialization.SoapSerializationEnvelope.read(SoapSerializationEnvelope.java:439)
03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err:     at org.ksoap2.serialization.SoapSerializationEnvelope.readUnknown(SoapSerializationEnvelope.java:304)
03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err:     at org.ksoap2.serialization.SoapSerializationEnvelope.read(SoapSerializationEnvelope.java:434)
03-22 11:59:53.643 12534-12592/pl.eltegps.pgo W/System.err:     at org.ksoap2.serialization.SoapSerializationEnvelope.readUnknown(SoapSerializationEnvelope.java:304)
这是我的班级定制信封:

public class CustomSoapEnvelope extends SoapSerializationEnvelope {

    public static final String TAG = CustomSoapEnvelope.class.getSimpleName();

    public CustomSoapEnvelope(int version) {
        super(version);
    }

    @Override
    public void writeObjectBody(XmlSerializer writer, KvmSerializable obj) throws IOException {
        if (obj instanceof CustomSoapObject) {
            if (!((CustomSoapObject)obj).hasChildNodes()) {
                writer.text(((CustomSoapObject)obj).getPropertyValue());
            }
        }
        super.writeObjectBody(writer, obj);
    }

    @Override
    protected void resolveReference(String id, Object obj) {
        super.resolveReference(id+obj.toString(), obj);
    }
}
我做到了:

CustomSoapEnvelope envelope = new CustomSoapEnvelope(SoapEnvelope.VER11);

    envelope.dotNet = true;
    envelope.setOutputSoapObject(request);
    envelope.implicitTypes = true;

    HttpTransportSE ht = new HttpTransportSE(URL);
    ht.debug = true;

    try {
        ht.call("\"" + method + "\"", envelope)
我不知道我做错了什么,为什么我有双重身份证。spoapi返回以下内容:

<PGOResult pages_count="1" total_records="1" sync_date="2018-03-21T15:59:33+01:00">
            <status>1</status>
            <PGOList>
               <PGO id="50409">
                  <address full="01-147 KIELCE, TATRZAŃSKA 32 (TALIK DANUTA IRENA )">
                     <country>POLSKA</country>
                     <city>KIELCE</city>
                     <zip>25-000</zip>
                     <street>TATRZAŃSKA</street>
                     <house>32</house>
                  </address>
                  <location lon="20.6513386" lat="50.8959923"/>
                  <last_inventory_date>2016-09-22T00:00:00+02:00</last_inventory_date>
                  <name>01-147 KIELCE, TATRZAŃSKA 32 (TALIK DANUTA IRENA )</name>
                  <building_type_id>12</building_type_id>
                  <description>01-147 KIELCE, TATRZAŃSKA 32 (TALIK DANUTA IRENA )</description>
                  <LoadList>
                     <Load id="156347" comm_id="2879715">
                        <container_type_id>2064299931</container_type_id>
                        <waste_id>21</waste_id>
                        <last_inventory_date>2016-06-02T09:00:35+02:00</last_inventory_date>
                        <cycle_id>29</cycle_id>
                     </Load>
                     <Load id="156348" comm_id="2879716">
                        <container_type_id>2064299931</container_type_id>
                        <waste_id>20</waste_id>
                        <last_inventory_date>2016-06-02T09:00:35+02:00</last_inventory_date>
                        <cycle_id>29</cycle_id>
                     </Load>
                     <Load id="156346" comm_id="2879717">
                        <container_type_id>2064299931</container_type_id>
                        <waste_id>19</waste_id>
                        <last_inventory_date>2016-06-02T09:00:35+02:00</last_inventory_date>
                        <cycle_id>47</cycle_id>
                     </Load>
                     <Load id="123687" comm_id="2879718">
                        <container_type_id>289485416</container_type_id>
                        <waste_id>10</waste_id>
                        <rfid_1>40000003E6B6E3</rfid_1>
                        <last_inventory_date>2016-05-13T08:38:11+02:00</last_inventory_date>
                        <cycle_id>29</cycle_id>
                     </Load>
                  </LoadList>
               </PGO>
            </PGOList>
         </PGOResult>

1.
波尔斯卡
基尔奇
25-000
塔特尔扎斯卡
32
2016-09-22T00:00:00+02:00
01-147基尔切,塔特尔扎斯卡32号(塔利克达努塔伊雷纳)
12
01-147基尔切,塔特尔扎斯卡32号(塔利克达努塔伊雷纳)
2064299931
21
2016-06-02T09:00:35+02:00
29
2064299931
20
2016-06-02T09:00:35+02:00
29
2064299931
19
2016-06-02T09:00:35+02:00
47
289485416
10
40000003E6B6E3
2016-05-13T08:38:11+02:00
29
这个错误不会在所有请求中重复,有时我没有这个错误。我在我的活动中看到了这个列表。但是在这个请求和数据中,我有一个bug。我不知道怎样才能修复这个