{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-java/issues/788","repository_url":"https://api.github.com/repos/aws/aws-sdk-java","labels_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/788/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/788/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/788/events","html_url":"https://github.com/aws/aws-sdk-java/issues/788","id":167552799,"number":788,"title":"RuntimePermission accessDeclaredMembers when calling AmazonS3Client.doesBucketExist","user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-26T08:48:43Z","updated_at":"2016-08-05T20:36:34Z","closed_at":null,"body":"Hey\r\n\r\n\r\nTested with 1.11.20. See https://github.com/elastic/elasticsearch/pull/19594.\r\n\r\n\r\nWe are getting this exception when running under a Security Manager.\r\n\r\n```\r\n[2016-07-26 09:36:40,350][WARN ][repositories             ] [AUqzQAb] failed to create repository [s3][test_repo_s3_1]\r\njava.security.AccessControlException: access denied (\"java.lang.RuntimePermission\" \"accessDeclaredMembers\")\r\n    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)\r\n    at java.security.AccessController.checkPermission(AccessController.java:884)\r\n    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)\r\n    at java.lang.Class.checkMemberAccess(Class.java:2348)\r\n    at java.lang.Class.getDeclaredConstructors(Class.java:2019)\r\n    at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveCreators(AnnotatedClass.java:338)\r\n    at com.fasterxml.jackson.databind.introspect.AnnotatedClass.getStaticMethods(AnnotatedClass.java:245)\r\n    at com.fasterxml.jackson.databind.introspect.BasicBeanDescription.getFactoryMethods(BasicBeanDescription.java:461)\r\n    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory._addDeserializerFactoryMethods(BasicDeserializerFactory.java:670)\r\n    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory._constructDefaultValueInstantiator(BasicDeserializerFactory.java:321)\r\n    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findValueInstantiator(BasicDeserializerFactory.java:254)\r\n    at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.createCollectionDeserializer(BasicDeserializerFactory.java:1027)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:394)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:352)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)\r\n    at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:428)\r\n    at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:947)\r\n    at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:439)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:296)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)\r\n    at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)\r\n    at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:461)\r\n    at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3838)\r\n    at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3732)\r\n    at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2796)\r\n    at com.amazonaws.partitions.PartitionsLoader.loadPartitionFromStream(PartitionsLoader.java:92)\r\n    at com.amazonaws.partitions.PartitionsLoader.build(PartitionsLoader.java:84)\r\n    at com.amazonaws.regions.RegionMetadataFactory.create(RegionMetadataFactory.java:30)\r\n    at com.amazonaws.regions.RegionUtils.initialize(RegionUtils.java:66)\r\n    at com.amazonaws.regions.RegionUtils.getRegionMetadata(RegionUtils.java:54)\r\n    at com.amazonaws.regions.RegionUtils.getRegion(RegionUtils.java:107)\r\n    at com.amazonaws.services.s3.AmazonS3Client.createSigner(AmazonS3Client.java:3288)\r\n    at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3984)\r\n    at com.amazonaws.services.s3.AmazonS3Client.headBucket(AmazonS3Client.java:1218)\r\n    at com.amazonaws.services.s3.AmazonS3Client.doesBucketExist(AmazonS3Client.java:1175)\r\n```"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-java/issues/comments/237957560","html_url":"https://github.com/aws/aws-sdk-java/issues/788#issuecomment-237957560","issue_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/788","id":237957560,"user":{"login":"shorea","id":11096681,"avatar_url":"https://avatars.githubusercontent.com/u/11096681?v=3","gravatar_id":"","url":"https://api.github.com/users/shorea","html_url":"https://github.com/shorea","followers_url":"https://api.github.com/users/shorea/followers","following_url":"https://api.github.com/users/shorea/following{/other_user}","gists_url":"https://api.github.com/users/shorea/gists{/gist_id}","starred_url":"https://api.github.com/users/shorea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorea/subscriptions","organizations_url":"https://api.github.com/users/shorea/orgs","repos_url":"https://api.github.com/users/shorea/repos","events_url":"https://api.github.com/users/shorea/events{/privacy}","received_events_url":"https://api.github.com/users/shorea/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T20:36:34Z","updated_at":"2016-08-05T20:36:34Z","body":"Thanks, I'll take another look. Is this the only API call you're having issues with?"}}
{"actor":{"display_login":"shorea"}}