我试图将一个元素附加到一个对象列表但我得到一个NullpointerException,有人可以帮助我。
<if name="If1">
<condition>1 = $addFlightCalled</condition>
<assign name="Assign"> <----- THIS IS WHERE I GET A NULLPOINTER
<extensionAssignOperation>
<bpelx:append>
<bpelx:from>$tempFlight</bpelx:from>
<bpelx:to>$Itenerary/flightBookings</bpelx:to>
</bpelx:append>
</extensionAssignOperation>
</assign>
<else>
<assign name="Assign3">
<copy>
<from variable="tempFlight"/>
<to>$Itenerary/flightBookings/FlightBookings</to>
</copy>
</assign>
</else>
</if>
...
有人可以帮助我。
答案 0 :(得分:0)
$ Itenerary / NS0:航班/ NS0:FlightBookings [$ ForEach1Counter] / NS0:bookingNumber $ CancelFlightIn.parameters /为arg0 $ Itenerary / NS0:航班/ NS0:FlightBookings [$ ForEach1Counter] / NS0:价格 $ CancelFlightIn.parameters / ARG1