When provisioning a server in Softlayer, using computeService.createNodesInGroup(), I receive
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: position (0) must be less than the number of elements that remained (0)
The root cause appears to be in at SoftLayerComputeServiceAdapter.java, line 128:
VirtualGuest result = get(productOrderReceipt.getOrderDetails().getVirtualGuests(), 0);
The Set returned by .getVirtualGuests() is empty, so attempting to get() item 0 fails and throws the exception.
An examination of the JSON returned by the Softlayer API shows that the VirtualGuests JSON element is populated (heavily trimmed JSON to show just the relevant structure):
It appears to me that there is something going wrong in the parsing of the JSON returned by the SoftLayer API