需要更多关于亚马逊示例项目帮助 [英] need help regarding amazon sample project

查看:130
本文介绍了需要更多关于亚马逊示例项目帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我是从下载亚马逊示例项目 这里

hi all i have download the amazon sample project from here

我已经成功地建立了项目,并已进入所需的凭据,但在攻任意两个按钮的应用程序中。崩溃与下面的崩溃日志

i have successfully build the project and have entered the required credentials but upon tapping any of the two buttons the app. crashes with the following crash log


2010-12-31 13:46:30.313 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) In SignURLRequest: String to Sign = [GET

Fri, 31 Dec 2010 13:46:29 GMT+05:00
/]
2010-12-31 13:46:30.315 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) Request headers:
2010-12-31 13:46:30.315 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) User-Agent: aws-sdk-iOS/0.1.0 iPhone-OS/4.0.1 en_PK
2010-12-31 13:46:30.316 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) Host: s3.amazonaws.com
2010-12-31 13:46:30.316 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) Authorization: AWS AKIAJ5JUKPHXGS4HOWOA:ykO5gbyEyymFCZIpmHZDAYEuscI=
2010-12-31 13:46:30.316 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) Content-Length: 0
2010-12-31 13:46:30.317 AWSiosDEMO[5432/0x3e7c27c8] [lvl=1] (no func) Date: Fri, 31 Dec 2010 13:46:29 GMT+05:00
2010-12-31 13:46:31.667 AWSiosDEMO[5432:307] *** Terminating app due to uncaught exception ‘AmazonServiceException’, reason: ‘(null)’
*** Call stack at first throw:
(
0 CoreFoundation 0x3037cfd3 __exceptionPreprocess + 114
1 libobjc.A.dylib 0x321308a5 objc_exception_throw + 24
2 AWSiosDEMO 0x0000a04b -[AmazonS3Client invoke:] + 826
3 AWSiosDEMO 0x00009a9b -[AmazonS3Client listBuckets:] + 14
4 AWSiosDEMO 0x00009ad5 -[AmazonS3Client listBuckets] + 52
5 AWSiosDEMO 0x00002bdb -[AWSiosDEMOViewController listBuckets:] + 158
6 CoreFoundation 0x303077ad -[NSObject(NSObject) performSelector:withObject:withObject:] + 24
7 UIKit 0×32383829 -[UIApplication sendAction:to:from:forEvent:] + 84
8 UIKit 0x323837c9 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 32
9 UIKit 0x3238379b -[UIControl sendAction:to:forEvent:] + 38
10 UIKit 0x323834ed -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 356
11 UIKit 0x32383b3b -[UIControl touchesEnded:withEvent:] + 342
12 UIKit 0x323824ed -[UIWindow _sendTouchesForEvent:] + 368
13 UIKit 0x32381e67 -[UIWindow sendEvent:] + 262
14 UIKit 0x3237db5b -[UIApplication sendEvent:] + 298
15 UIKit 0x3237d507 _UIApplicationHandleEvent + 5022
16 GraphicsServices 0x31a78147 PurpleEventCallback + 666
17 CoreFoundation 0x30352aab __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26
18 CoreFoundation 0x3035484f __CFRunLoopDoSource1 + 166
19 CoreFoundation 0x3035562d __CFRunLoopRun + 520
20 CoreFoundation 0x302fe8eb CFRunLoopRunSpecific + 230
21 CoreFoundation 0x302fe7f3 CFRunLoopRunInMode + 58
22 GraphicsServices 0x31a776ef GSEventRunModal + 114
23 GraphicsServices 0x31a7779b GSEventRun + 62
24 UIKit 0x323272a7 -[UIApplication _run] + 402
25 UIKit 0x32325e17 UIApplicationMain + 670
26 AWSiosDEMO 0x0000293b main + 70
27 AWSiosDEMO 0x000028f0 start + 40
)
terminate called after throwing an instance of ‘AmazonServiceException’

我需要帮助,为什么会出现这个错误我在哪里错了?

I need help why this error occurs where i am wrong ?

推荐答案

这引起了我相当多的悲痛为好。

This caused me quite a bit of grief as well.

这个问题不具有任何SimpleDB的领域设置。如果按照亚马逊的SimpleDB入门指南,并创建一个域,在便签应用某些属性,你会可以点击简单DB - 列表域按钮不会崩溃

The problem is not having any domains setup in SimpleDB. If you follow Amazon's SimpleDB Getting Started Guide and create a domain and some attributes in the Scratchpad app, you'll be able to click the Simple DB - List Domains button without a crash.

我将承担 S3 - 产品名单桶按钮是一个类似的问题

I would assume the S3 - List Buckets button is a similar issue.

这篇关于需要更多关于亚马逊示例项目帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆