Comments (8)
Bah, sorry to waste your time. This was a local environment issue.
from amazonica.
If you switched from JDK 1.7 to 1.6 and the issue "went away" I think we should probably leave the issue open. I think there's a few places in the code where we're not specific enough / search exhaustively enough through the available methods to choose the correct one to invoke on the AWS SDK Javabean. So for example, I believe maybe in a recent upgrade of the AWS SDK, they added another setKey() method that takes Map.Entry's in addition to simply Maps. http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/model/GetItemRequest.html
The ordering of methods returned from a call to Class.getDeclaredMethods() is different on different JDKs. On one particular JDK the first setKey method returned works, on another it doesn't. I've seen this once before somewhere else in the code, so I think this might be a similar bug. If you switched JDKs and it worked I'm pretty sure that's what's going on.
from amazonica.
I'm going to attempt to reproduce this (no luck so far). I am using JDK 1.7.
I was doing a lot of refactoring in a long-running repl. After restarting the repl, things worked just fine. I am assuming that I had fudged something up that way.
I'll update here if I can make this happen again. Thanks!
from amazonica.
I was able to reproduce for a short period. Another function began throwing this same exception. I ran lein clean
, and the problem went away. I'm unsure if it has shifted elsewhere or what.
from amazonica.
I'm pretty sure its a bug, where were dependent on the ordering of methods
returned by class.getDeclaredMethod. ill have look today or tonight. Thanks.
On Jul 25, 2013 8:49 AM, "Michael Gorsuch" [email protected] wrote:
I was able to reproduce for a short period. Another function began
throwing this same exception. I ran lein clean, and the problem went
away. I'm unsure if it has shifted elsewhere or what.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-21563367
.
from amazonica.
Naw, thank you, sir.
On Thu, Jul 25, 2013 at 11:34 AM, Michael Cohen [email protected]:
I'm pretty sure its a bug, where were dependent on the ordering of methods
returned by class.getDeclaredMethod. ill have look today or tonight.
Thanks.
On Jul 25, 2013 8:49 AM, "Michael Gorsuch" [email protected]
wrote:I was able to reproduce for a short period. Another function began
throwing this same exception. I ran lein clean, and the problem went
away. I'm unsure if it has shifted elsewhere or what.—
Reply to this email directly or view it on GitHub<
https://github.com/mcohen01/amazonica/issues/9#issuecomment-21563367>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-21567030
.
from amazonica.
not pretty but....
from amazonica.
Thank you so much for fixing this. Works like a champ over here.
from amazonica.
Related Issues (20)
- SQS send-message with message-attributes HOT 3
- Update README.md Lambda Section
- Old dependencies have known vulnerabilities HOT 1
- How to get the uri of a file saved to aws using put-object?
- Unaccurate :arglists for #'amazonica.aws.simpleemail/send-email HOT 3
- Support for KCL 2 (enhanced fan out)
- How to get the progress in uploading to an s3 bucket? HOT 2
- Route53 list-hosted-zones in China HOT 1
- Details on "Could not determine best method to invoke for download using arguments"
- Kinesis checkpointing does not work correctly when leasing multiple shards
- Kinesis client workers do not gracefully shutdown
- How to start new Kinesis worker at InitialPositionInStream.LATEST? HOT 1
- s3 region error
- Very large transient libraries HOT 2
- get-shard-iterator with AT_TIMESTAMP not working HOT 1
- Kinesis worker doesn't use amazonica credentials mechanism HOT 2
- s3 example from the README throws Execution error (IllegalStateException)
- No release tags since 2015
- update to aws-java-sdk 1.12.638+ to resolve CVE-2024-21634) HOT 2
- Ion Java StackOverflow vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazonica.