On Nov 28, 2012, at 9:19 AM, Christian Hermann <[email protected]> wrote:
...
> But i always get an error at this line: using (ListBucketsResponse response = 
> client.ListBuckets())
>  
> System.NullReferenceException: Object reference not set to an instance of an 
> object

What's the full stack trace?

There are two possibilities:

1. Amazon.AWSClientFactory.CreateAmazonS3Client() is returning null.
2. AmazonS3.ListBuckets() is internally hitting a NRE.

(1) is unlikely, given that the source always creates a new instance:

        
https://github.com/xamarin/amazon/blob/master/AWSSDK/AWSClientFactory.cs#L1221

(2) is possible, and a full stack trace would be able to confirm or deny this.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to