Giter VIP home page Giter VIP logo

Comments (8)

gorsuch avatar gorsuch commented on July 25, 2024

Bah, sorry to waste your time. This was a local environment issue.

from amazonica.

mcohen01 avatar mcohen01 commented on July 25, 2024

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.

gorsuch avatar gorsuch commented on July 25, 2024

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.

gorsuch avatar gorsuch commented on July 25, 2024

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.

mcohen01 avatar mcohen01 commented on July 25, 2024

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.

gorsuch avatar gorsuch commented on July 25, 2024

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.

mcohen01 avatar mcohen01 commented on July 25, 2024

not pretty but....

from amazonica.

gorsuch avatar gorsuch commented on July 25, 2024

Thank you so much for fixing this. Works like a champ over here.

from amazonica.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.