You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks-
I'm about 10 hours in on this bug and can't figure it out. Am I missing something basic, or is this piece just not working?
I'm calling the following:
AmazonSimpleDB service = new AmazonSimpleDBClient(accessKeyId, secretAccessKey);
SelectRequest request = new SelectRequest();
request.SelectExpression = sql;
SelectResponse response = service.Select(request);
It fails on AmazonSimpleDBClient.endOperation with the good ol' null XML message.
{System.NullReferenceException: Object reference not set to an instance of an object
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in :0
at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in :0
at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000] in :0
at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000] in :0
at Amazon.Util.AWSSDKUtils.GetXslCompiledTransform (System.String name) [0x0002e] in C:\AWS\Amazon.Util\AWSSDKUtils.cs:283
at Amazon.SimpleDB.AmazonSimpleDBClient.transform (System.String responseBody, System.String action, System.Type t) [0x00067] in C:\AWS\Amazon.SimpleDB\AmazonSimpleDBClient.cs:1601
at Amazon.SimpleDB.AmazonSimpleDBClient.handleHttpResponse[SelectResponse](Amazon.SimpleDB.SDBAsyncResult sdbAsyncResult, System.Net.HttpWebResponse httpResponse, System.Net.HttpStatusCode& statusCode) [0x000c2] in C:\AWS\Amazon.SimpleDB\AmazonSimpleDBClient.cs:1342
at Amazon.SimpleDB.AmazonSimpleDBClient.getResponseCallback[SelectResponse](IAsyncResult result) [0x0008f] in C:\AWS\Amazon.SimpleDB\AmazonSimpleDBClient.cs:1283 }
I put a breakpoint inside getResponseCallback, change the state.RequestData from POST to GET, put it in my browser with the AWS prefix, and I see the response I'm looking for. Any suggestions heartily appreciated.
The text was updated successfully, but these errors were encountered:
Hi folks-
I'm about 10 hours in on this bug and can't figure it out. Am I missing something basic, or is this piece just not working?
I'm calling the following:
AmazonSimpleDB service = new AmazonSimpleDBClient(accessKeyId, secretAccessKey);
SelectRequest request = new SelectRequest();
request.SelectExpression = sql;
SelectResponse response = service.Select(request);
It fails on AmazonSimpleDBClient.endOperation with the good ol' null XML message.
{System.NullReferenceException: Object reference not set to an instance of an object
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in :0
at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in :0
at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000] in :0
at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000] in :0
at Amazon.Util.AWSSDKUtils.GetXslCompiledTransform (System.String name) [0x0002e] in C:\AWS\Amazon.Util\AWSSDKUtils.cs:283
at Amazon.SimpleDB.AmazonSimpleDBClient.transform (System.String responseBody, System.String action, System.Type t) [0x00067] in C:\AWS\Amazon.SimpleDB\AmazonSimpleDBClient.cs:1601
at Amazon.SimpleDB.AmazonSimpleDBClient.handleHttpResponse[SelectResponse](Amazon.SimpleDB.SDBAsyncResult sdbAsyncResult, System.Net.HttpWebResponse httpResponse, System.Net.HttpStatusCode& statusCode) [0x000c2] in C:\AWS\Amazon.SimpleDB\AmazonSimpleDBClient.cs:1342
at Amazon.SimpleDB.AmazonSimpleDBClient.getResponseCallback[SelectResponse](IAsyncResult result) [0x0008f] in C:\AWS\Amazon.SimpleDB\AmazonSimpleDBClient.cs:1283 }
I put a breakpoint inside getResponseCallback, change the state.RequestData from POST to GET, put it in my browser with the AWS prefix, and I see the response I'm looking for. Any suggestions heartily appreciated.
The text was updated successfully, but these errors were encountered: