[EC2 Query API] RunInstance and DescribeInstances throw NumberFormatException error when called using AWS Java SDK

https://reviews.apache.org/r/8483/

AWS Java SDK doesn't expect a string value in the AmiLaunchIndex response element for RunInstances and DescribeInstances response.
This commit is contained in:
Likitha Shetty 2013-01-31 11:49:01 -08:00 committed by Prachi Damle
parent d738c81a46
commit 61f24d8a16
1 changed files with 2 additions and 2 deletions

View File

@ -1379,7 +1379,7 @@ public class EC2SoapServiceImpl implements AmazonEC2SkeletonInterface {
param7.setDnsName( "" );
param7.setReason( "" );
param7.setKeyName( inst.getKeyPairName());
param7.setAmiLaunchIndex( "" );
param7.setAmiLaunchIndex( null );
param7.setInstanceType( inst.getServiceOffering());
ProductCodesSetType param9 = new ProductCodesSetType();
@ -1701,7 +1701,7 @@ public class EC2SoapServiceImpl implements AmazonEC2SkeletonInterface {
param7.setDnsName( "" );
param7.setReason( "" );
param7.setKeyName( inst.getKeyPairName());
param7.setAmiLaunchIndex( "" );
param7.setAmiLaunchIndex( null );
ProductCodesSetType param9 = new ProductCodesSetType();
ProductCodesSetItemType param10 = new ProductCodesSetItemType();