我正在尝试在Android上制作应用。 当我将minifyEnabled设置为true时,我收到此错误:
E/Lex: InteractiveVoiceViewAdapter: Interaction error
com.amazonaws.AmazonClientException: Unable to unmarshall response (Missing type parameter.). Response Code: 200, Response Text: OK
at com.amazonaws.http.AmazonHttpClient.handleResponse(Unknown Source)
at com.amazonaws.http.AmazonHttpClient.executeHelper(Unknown Source)
at com.amazonaws.http.AmazonHttpClient.execute(Unknown Source)
at com.amazonaws.services.lexrts.AmazonLexRuntimeClient.invoke(Unknown Source)
at com.amazonaws.services.lexrts.AmazonLexRuntimeClient.postContent(Unknown Source)
at com.amazonaws.mobileconnectors.lex.interactionkit.InteractionClient$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.RuntimeException: Missing type parameter.
at com.b.c.c.a.getSuperclassTypeParameter(Unknown Source)
at com.b.c.c.a.<init>(Unknown Source)
at com.amazonaws.services.lexrts.model.transform.PostContentResultJsonUnmarshaller$1.<init>(Unknown Source)
at com.amazonaws.services.lexrts.model.transform.PostContentResultJsonUnmarshaller.unmarshall(Unknown Source)
at com.amazonaws.services.lexrts.model.transform.PostContentResultJsonUnmarshaller.unmarshall(Unknown Source)
at com.amazonaws.http.JsonResponseHandler.handle(Unknown Source)
at com.amazonaws.http.JsonResponseHandler.handle(Unknown Source)
如何解决这个问题?当minify设置为false时,它可以正常工作。
答案 0 :(得分:0)
我认为您的问题不是由于您将minifyEnabled
设置为true。 Amazone AWS
配置存在一些问题请查看以下详细信息,以帮助您解决问题:
在构建要编制索引的文档的初始列表时,看起来我达到了XML扩展限制。我试图索引大约600万份文件。
我编辑了/etc/init.d/elasticsearch并设置了ES_JAVA_OPTS="-Djdk.xml.entityExpansionLimit=0"
这似乎解决了这个问题。
参考:What's causing these ParseError exceptions when reading off an AWS SQS queue in my Storm cluster