Issue with sesv2 version 811.2.834.0
kevin-ewing opened this issue · comments
Dependencies
{:deps
{com.cognitect.aws/sesv2 {:mvn/version"811.2.834.0"}
{com.cognitect.aws/api {:mvn/version"0.8.498"}}
Description with failing test case
When trying to compile a namespace with the following code, I get an IndexOutOfBounds
error.
(def ses-client (aws/client {:api :sesv2
(aws/invoke ses-client {:op :SendEmail :request
{:FromEmailAddress "test@gmail.com"
:Destination {:ToAddresses ["test@gmail.com"]}
:Content {:Simple {:Body {:Text {:Charset "UTF-8"
:Data "Test Body"}}
:Subject {:Charset "UTF-8"
:Data "Test"}}}}}))
When I then try to compile to a .jar file using lein uberjar
the following error is thrown:
Syntax error macroexpanding at (namespace.clj:1:1). Execution error (IndexOutOfBoundsException) at clojure.asm.MethodWriter/computeMethodInfoSize (MethodWriter.java:2061). Method code too large!
I was then able to fix this error by reverting to an older version of sesv2:
{:deps
{com.cognitect.aws/sesv2 {:mvn/version"783.2.590.0"}
{com.cognitect.aws/api {:mvn/version"0.8.498"}}
related to #153 ?
not compiling the spec should be fine