Elastic Beanstalk でホストしている匿名の自動販売機で問題が発生しています。状況は、AWS が iOS 用に提供するコードを使用していますが、KeyWrapper が作成する暗号生成された uid / キーに対して 500 秒を取得しています。豆の木のログはかなりまばらに見えますが、500 年代を示しているため、少なくとも話しています。
このヌル ポインター例外は、唯一の詳細なエラーのようですが、それがどのような問題を指しているのかはわかりません。
May 10, 2013 4:10:48 PM com.amazonaws.tvm.GetTokenServlet processRequest
INFO: processing request
May 10, 2013 4:10:48 PM com.amazonaws.tvm.anonymous.AnonymousTokenVendingMachine validateTokenRequest
FINE: Timestamp [ 2013-05-10T16%3A10%3A48Z ] is valid
May 10, 2013 4:10:48 PM com.amazonaws.tvm.anonymous.AnonymousTokenVendingMachine validateTokenRequest
FINE: Signature matched!!!
May 10, 2013 4:10:48 PM com.amazonaws.tvm.TemporaryCredentialManagement getTemporaryCredentials
SEVERE: Exception during getTemporaryCredentials
java.lang.NullPointerException
at java.util.regex.Matcher.appendReplacement(Matcher.java:712)
at java.util.regex.Matcher.replaceAll(Matcher.java:823)
at java.lang.String.replaceAll(String.java:2201)
at com.amazonaws.tvm.TemporaryCredentialManagement.getPolicyObject(TemporaryCredentialManagement.java:56)
at com.amazonaws.tvm.TemporaryCredentialManagement.getTemporaryCredentials(TemporaryCredentialManagement.java:42)
at com.amazonaws.tvm.anonymous.AnonymousTokenVendingMachine.getToken(AnonymousTokenVendingMachine.java:88)
at com.amazonaws.tvm.GetTokenServlet.processRequest(GetTokenServlet.java:48)
at com.amazonaws.tvm.RootServlet.doGet(RootServlet.java:38)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
May 10, 2013 4:10:48 PM com.amazonaws.tvm.GetTokenServlet processRequest
SEVERE: Error generating session credentials for UID : 6c6feea6848c6ca41c4a9e427896dba9
May 10, 2013 4:10:48 PM com.amazonaws.tvm.GetTokenServlet processRequest