Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to list-platform-applications in SNS #359

Open
staypufd opened this issue Feb 8, 2018 · 5 comments
Open

Error trying to list-platform-applications in SNS #359

staypufd opened this issue Feb 8, 2018 · 5 comments

Comments

@staypufd
Copy link

staypufd commented Feb 8, 2018

After doing my creds

(defcredential {:access-key ""
:secret-key ""
:endpoint "us-east-1"})
=> {:access-key "A...", :secret-key "...", :endpoint "us-east-1"}

I get back the cred map.

Then I try to use the sns/list-platform-applications function and get this error.

(sns/list-platform-applications)
NoClassDefFoundError Could not initialize class com.amazonaws.partitions.PartitionsLoader com.amazonaws.regions.RegionMetadataFactory.create (RegionMetadataFactory.java:30)

@mcohen01
Copy link
Owner

mcohen01 commented Feb 8, 2018

Can't reproduce.

$ lein repl
nREPL server started on port 57715 on host 127.0.0.1 - nrepl://127.0.0.1:57715
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_151-b12
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

user=> (require :reload '[amazonica.aws.sns :as sns])
nil
user=> (sns/list-platform-applications)
{:platform-applications []}

I'm guessing somehow you have an older version of the AWS Java SDK on your classpath? Maybe run lein deps :tree and see if it shows up other than as an amazonica dependency.

@staypufd
Copy link
Author

staypufd commented Feb 9, 2018

This is what I get out...

Possibly confusing dependencies found:
[org.clojure/clojure "1.8.0"]
 overrides
[luminus-migrations "0.4.6"] -> [migratus "1.0.3"] -> [org.clojure/clojure "1.9.0"]
 and
[luminus-migrations "0.4.6"] -> [org.clojure/clojure "1.9.0"]

Consider using these exclusions:
[luminus-migrations "0.4.6" :exclusions [org.clojure/clojure]]
[luminus-migrations "0.4.6" :exclusions [org.clojure/clojure]]

[org.clojure/java.jdbc "0.7.1"]
 overrides
[luminus-migrations "0.4.6"] -> [migratus "1.0.3"] -> [org.clojure/java.jdbc "0.7.4"]

Consider using these exclusions:
[luminus-migrations "0.4.6" :exclusions [org.clojure/java.jdbc]]

[org.clojure/tools.nrepl "0.2.12" :exclusions [org.clojure/clojure]]
 overrides
[cider/cider-nrepl "0.15.0-SNAPSHOT"] -> [org.clojure/tools.nrepl "0.2.13" :exclusions [org.clojure/clojure]]

Consider using these exclusions:
[cider/cider-nrepl "0.15.0-20170720.063753-24" :exclusions [org.clojure/tools.nrepl]]

[clj-oauth "1.5.4"] -> [commons-codec "1.8"]
 overrides
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpmime "4.5.1" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5.1"] -> [commons-codec "1.9"]
 and
[metosin/compojure-api "1.1.11"] -> [ring-middleware-format "0.7.2"] -> [com.cognitect/transit-clj "0.8.297"] -> [com.cognitect/transit-java "0.8.319"] -> [commons-codec "1.10"]
 and
[clj-oauth "1.5.4"] -> [clj-http "2.0.1"] -> [org.apache.httpcomponents/httpmime "4.5" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5"] -> [commons-codec "1.9"]
 and
[buddy "2.0.0"] -> [buddy/buddy-auth "2.1.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-sign "2.2.0"] -> [buddy/buddy-core "1.4.0"] -> [commons-codec "1.10"]
 and
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5.1" :exclusions [org.clojure/clojure]] -> [commons-codec "1.9"]
 and
[metosin/muuntaja "0.3.2"] -> [com.cognitect/transit-clj "0.8.300"] -> [com.cognitect/transit-java "0.8.324"] -> [commons-codec "1.10"]
 and
[clj-oauth "1.5.4"] -> [clj-http "2.0.1"] -> [org.apache.httpcomponents/httpclient "4.5" :exclusions [org.clojure/clojure]] -> [commons-codec "1.9"]
 and
[buddy "2.0.0"] -> [buddy/buddy-sign "2.2.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [commons-codec "1.10"]
 and
[buddy "2.0.0"] -> [buddy/buddy-hashers "1.3.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [commons-codec "1.10"]
 and
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [commons-codec "1.10" :exclusions [org.clojure/clojure]]
 and
[clj-oauth "1.5.4"] -> [clj-http "2.0.1"] -> [commons-codec "1.10" :exclusions [org.clojure/clojure]]
 and
[buddy "2.0.0"] -> [buddy/buddy-core "1.4.0" :exclusions [org.clojure/clojure]] -> [commons-codec "1.10"]
 and
[ring/ring-codec "1.1.0"] -> [commons-codec "1.10"]
 and
[selmer "1.11.1"] -> [commons-codec "1.10"]

Consider using these exclusions:
[postmark "1.4.0" :exclusions [commons-codec]]
[metosin/compojure-api "1.1.11" :exclusions [commons-codec]]
[clj-oauth "1.5.4" :exclusions [commons-codec]]
[buddy "2.0.0" :exclusions [commons-codec]]
[postmark "1.4.0" :exclusions [commons-codec]]
[metosin/muuntaja "0.3.2" :exclusions [commons-codec]]
[clj-oauth "1.5.4" :exclusions [commons-codec]]
[buddy "2.0.0" :exclusions [commons-codec]]
[buddy "2.0.0" :exclusions [commons-codec]]
[postmark "1.4.0" :exclusions [commons-codec]]
[clj-oauth "1.5.4" :exclusions [commons-codec]]
[buddy "2.0.0" :exclusions [commons-codec]]
[ring/ring-codec "1.1.0" :exclusions [commons-codec]]
[selmer "1.11.1" :exclusions [commons-codec]]

[clj-oauth "1.5.4"] -> [org.bouncycastle/bcprov-jdk15on "1.54"]
 overrides
[buddy "2.0.0"] -> [buddy/buddy-auth "2.1.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-sign "2.2.0"] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcpkix-jdk15on "1.58"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-sign "2.2.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcpkix-jdk15on "1.58"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-hashers "1.3.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcpkix-jdk15on "1.58"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-auth "2.1.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-sign "2.2.0"] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-sign "2.2.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-hashers "1.3.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-core "1.4.0" :exclusions [org.clojure/clojure]] -> [org.bouncycastle/bcpkix-jdk15on "1.58"] -> [org.bouncycastle/bcprov-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-core "1.4.0" :exclusions [org.clojure/clojure]] -> [org.bouncycastle/bcprov-jdk15on "1.58"]

Consider using these exclusions:
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcprov-jdk15on]]

[clj-oauth "1.5.4"] -> [org.bouncycastle/bcpkix-jdk15on "1.54"]
 overrides
[buddy "2.0.0"] -> [buddy/buddy-auth "2.1.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-sign "2.2.0"] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcpkix-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-sign "2.2.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcpkix-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-hashers "1.3.0" :exclusions [org.clojure/clojure]] -> [buddy/buddy-core "1.4.0"] -> [org.bouncycastle/bcpkix-jdk15on "1.58"]
 and
[buddy "2.0.0"] -> [buddy/buddy-core "1.4.0" :exclusions [org.clojure/clojure]] -> [org.bouncycastle/bcpkix-jdk15on "1.58"]

Consider using these exclusions:
[buddy "2.0.0" :exclusions [org.bouncycastle/bcpkix-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcpkix-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcpkix-jdk15on]]
[buddy "2.0.0" :exclusions [org.bouncycastle/bcpkix-jdk15on]]

[clj-oauth "1.5.4"] -> [clj-http "2.0.1"]
 overrides
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]]

Consider using these exclusions:
[postmark "1.4.0" :exclusions [clj-http]]

[clj-oauth "1.5.4"] -> [clj-http "2.0.1"] -> [org.apache.httpcomponents/httpcore "4.4.1" :exclusions [org.clojure/clojure]]
 overrides
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpmime "4.5.1" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5.1"] -> [org.apache.httpcomponents/httpcore "4.4.3"]
 and
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5.1" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpcore "4.4.3"]
 and
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpcore "4.4.4" :exclusions [org.clojure/clojure]]

Consider using these exclusions:
[postmark "1.4.0" :exclusions [org.apache.httpcomponents/httpcore]]
[postmark "1.4.0" :exclusions [org.apache.httpcomponents/httpcore]]
[postmark "1.4.0" :exclusions [org.apache.httpcomponents/httpcore]]

[clj-oauth "1.5.4"] -> [clj-http "2.0.1"] -> [org.apache.httpcomponents/httpclient "4.5" :exclusions [org.clojure/clojure]]
 overrides
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpmime "4.5.1" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5.1"]
 and
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpclient "4.5.1" :exclusions [org.clojure/clojure]]

Consider using these exclusions:
[postmark "1.4.0" :exclusions [org.apache.httpcomponents/httpclient]]
[postmark "1.4.0" :exclusions [org.apache.httpcomponents/httpclient]]

[clj-oauth "1.5.4"] -> [clj-http "2.0.1"] -> [org.apache.httpcomponents/httpmime "4.5" :exclusions [org.clojure/clojure]]
 overrides
[postmark "1.4.0"] -> [clj-http "2.1.0" :exclusions [org.clojure/clojure]] -> [org.apache.httpcomponents/httpmime "4.5.1" :exclusions [org.clojure/clojure]]

Consider using these exclusions:
[postmark "1.4.0" :exclusions [org.apache.httpcomponents/httpmime]]

[selmer "1.11.1"] -> [json-html "0.4.0"] -> [hiccups "0.3.0"] -> [org.clojure/clojurescript "0.0-2069"] -> [com.google.javascript/closure-compiler "v20130603"] -> [com.google.guava/guava "14.0.1"]
 overrides
[metosin/compojure-api "1.1.11"] -> [metosin/ring-swagger "0.24.1"] -> [metosin/scjsv "0.4.0"] -> [com.github.fge/json-schema-validator "2.2.6"] -> [com.github.fge/json-schema-core "1.2.5"] -> [com.github.fge/jackson-coreutils "1.8"] -> [com.google.guava/guava "16.0.1"]
 and
[metosin/compojure-api "1.1.11"] -> [metosin/ring-swagger "0.24.1"] -> [metosin/scjsv "0.4.0"] -> [com.github.fge/json-schema-validator "2.2.6"] -> [com.github.fge/json-schema-core "1.2.5"] -> [com.github.fge/uri-template "0.9"] -> [com.google.guava/guava "16.0.1"]

Consider using these exclusions:
[metosin/compojure-api "1.1.11" :exclusions [com.google.guava/guava]]
[metosin/compojure-api "1.1.11" :exclusions [com.google.guava/guava]]

 [buddy "2.0.0"]
   [buddy/buddy-auth "2.1.0" :exclusions [[org.clojure/clojure]]]
   [buddy/buddy-core "1.4.0" :exclusions [[org.clojure/clojure]]]
   [buddy/buddy-hashers "1.3.0" :exclusions [[org.clojure/clojure]]]
     [clojurewerkz/scrypt "1.2.0"]
       [com.lambdaworks/scrypt "1.4.0"]
   [buddy/buddy-sign "2.2.0" :exclusions [[org.clojure/clojure]]]
 [cheshire "5.8.0"]
   [com.fasterxml.jackson.core/jackson-core "2.9.0"]
   [com.fasterxml.jackson.dataformat/jackson-dataformat-cbor "2.9.0"]
   [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.9.0"]
   [tigris "0.1.1"]
 [cider/cider-nrepl "0.15.0-20170720.063753-24"]
   [org.tcrawley/dynapath "0.2.5" :exclusions [[org.clojure/clojure]]]
 [clj-json "0.5.3"]
   [org.codehaus.jackson/jackson-core-asl "1.9.9"]
 [clj-oauth "1.5.4"]
   [clj-http "2.0.1"]
     [org.apache.httpcomponents/httpclient "4.5" :exclusions [[org.clojure/clojure]]]
       [commons-logging "1.2"]
     [org.apache.httpcomponents/httpcore "4.4.1" :exclusions [[org.clojure/clojure]]]
     [org.apache.httpcomponents/httpmime "4.5" :exclusions [[org.clojure/clojure]]]
     [slingshot "0.12.2" :exclusions [[org.clojure/clojure]]]
   [commons-codec "1.8"]
   [org.bouncycastle/bcpkix-jdk15on "1.54"]
   [org.bouncycastle/bcprov-jdk15on "1.54"]
 [clj-time "0.14.2"]
   [joda-time "2.9.7"]
 [clojure-complete "0.2.4" :exclusions [[org.clojure/clojure]]]
 [compojure "1.6.0"]
   [clout "2.1.2"]
     [instaparse "1.4.0" :exclusions [[org.clojure/clojure]]]
   [medley "1.0.0"]
   [org.clojure/tools.macro "0.1.5"]
 [conman "0.6.8"]
   [com.carouselapps/to-jdbc-uri "0.5.0"]
   [com.layerware/hugsql "0.4.7"]
     [com.layerware/hugsql-adapter-clojure-java-jdbc "0.4.7"]
     [com.layerware/hugsql-core "0.4.7"]
       [com.layerware/hugsql-adapter "0.4.7"]
   [hikari-cp "1.7.6"]
     [com.zaxxer/HikariCP "2.6.0"]
       [org.slf4j/slf4j-api "1.7.21"]
 [cprop "0.1.11"]
 [funcool/struct "1.1.0"]
   [funcool/cuerdas "2.0.3"]
 [io.aviso/pretty "0.1.34"]
 [jumblerg/ring.middleware.cors "1.0.1"]
 [luminus-immutant "0.2.3"]
   [org.immutant/web "2.1.6"]
     [org.immutant/core "2.1.6"]
     [org.projectodd.wunderboss/wunderboss-clojure "0.12.2"]
     [org.projectodd.wunderboss/wunderboss-web-undertow "0.12.2"]
       [io.undertow/undertow-core "1.3.23.Final"]
         [org.jboss.xnio/xnio-api "3.3.6.Final"]
         [org.jboss.xnio/xnio-nio "3.3.6.Final" :scope "runtime"]
       [io.undertow/undertow-servlet "1.3.23.Final"]
         [org.jboss.spec.javax.annotation/jboss-annotations-api_1.2_spec "1.0.0.Final"]
       [io.undertow/undertow-websockets-jsr "1.3.23.Final"]
       [org.projectodd.wunderboss/wunderboss-core "0.12.2"]
         [ch.qos.logback/logback-classic "1.1.3"]
           [ch.qos.logback/logback-core "1.1.3"]
         [org.jboss.logging/jboss-logging "3.2.1.Final"]
       [org.projectodd.wunderboss/wunderboss-web "0.12.2"]
         [org.jboss.spec.javax.servlet/jboss-servlet-api_3.1_spec "1.0.0.Final"]
         [org.jboss.spec.javax.websocket/jboss-websocket-api_1.1_spec "1.1.0.Final"]
 [luminus-migrations "0.4.6"]
   [migratus "1.0.3"]
     [org.clojure/java.classpath "0.2.3"]
 [luminus-nrepl "0.1.4"]
 [luminus/ring-ttl-session "0.3.2"]
   [expiring-map "0.1.8"]
     [net.jodah/expiringmap "0.5.8"]
 [markdown-clj "1.0.1"]
 [metosin/compojure-api "1.1.11"]
   [frankiesardo/linked "1.2.9"]
   [metosin/ring-swagger-ui "2.2.8"]
   [metosin/ring-swagger "0.24.1"]
     [metosin/schema-tools "0.9.0"]
     [metosin/scjsv "0.4.0"]
       [com.github.fge/json-schema-validator "2.2.6"]
         [com.github.fge/json-schema-core "1.2.5"]
           [com.github.fge/jackson-coreutils "1.8"]
           [com.github.fge/uri-template "0.9"]
             [com.github.fge/msg-simple "1.1"]
               [com.github.fge/btf "1.2"]
         [com.google.code.findbugs/jsr305 "3.0.0"]
         [com.googlecode.libphonenumber/libphonenumber "6.2"]
         [javax.mail/mailapi "1.4.3"]
           [javax.activation/activation "1.1"]
         [net.sf.jopt-simple/jopt-simple "4.6"]
   [org.tobereplaced/lettercase "1.0.0"]
   [potemkin "0.4.3"]
     [clj-tuple "0.2.2"]
     [riddley "0.1.12"]
   [prismatic/plumbing "0.5.4"]
     [de.kotka/lazymap "3.1.0" :exclusions [[org.clojure/clojure]]]
   [prismatic/schema "1.1.6"]
   [ring-middleware-format "0.7.2"]
     [circleci/clj-yaml "0.5.5"]
       [org.flatland/ordered "1.5.3"]
         [org.flatland/useful "0.9.0"]
       [org.yaml/snakeyaml "1.13"]
     [clojure-msgpack "1.2.0"]
     [com.ibm.icu/icu4j "58.2"]
     [org.clojure/core.memoize "0.5.9"]
       [org.clojure/core.cache "0.6.5"]
         [org.clojure/data.priority-map "0.0.7"]
     [org.clojure/tools.reader "0.10.0"]
 [metosin/muuntaja "0.3.2"]
   [com.cognitect/transit-clj "0.8.300"]
     [com.cognitect/transit-java "0.8.324"]
       [org.msgpack/msgpack "0.6.12"]
         [com.googlecode.json-simple/json-simple "1.1.1" :exclusions [[junit]]]
         [org.javassist/javassist "3.18.1-GA"]
 [metosin/ring-http-response "0.9.0"]
 [mount "0.1.11"]
 [org.clojure/clojure "1.8.0"]
 [org.clojure/data.json "0.2.6"]
 [org.clojure/java.jdbc "0.7.1"]
 [org.clojure/test.check "0.10.0-alpha2"]
 [org.clojure/tools.cli "0.3.5"]
 [org.clojure/tools.logging "0.4.0"]
 [org.clojure/tools.nrepl "0.2.12" :exclusions [[org.clojure/clojure]]]
 [org.clojure/tools.trace "0.7.9"]
 [org.postgresql/postgresql "42.1.3"]
 [org.webjars.bower/tether "1.4.0"]
 [org.webjars/bootstrap "4.0.0-alpha.5"]
 [org.webjars/font-awesome "4.7.0"]
 [org.webjars/jquery "3.2.1"]
 [pjstadig/humane-test-output "0.8.2"]
 [postmark "1.4.0"]
 [prone "1.1.4"]
 [ring-webjars "0.2.0"]
   [org.webjars/webjars-locator "0.27"]
     [com.fasterxml.jackson.core/jackson-databind "2.3.3"]
       [com.fasterxml.jackson.core/jackson-annotations "2.3.0"]
     [org.apache.commons/commons-lang3 "3.4"]
     [org.webjars/webjars-locator-core "0.27"]
       [org.apache.commons/commons-compress "1.9"]
 [ring/ring-codec "1.1.0"]
 [ring/ring-core "1.6.2"]
   [commons-fileupload "1.3.2"]
   [commons-io "2.5"]
   [crypto-equality "1.0.0"]
   [crypto-random "1.2.0"]
 [ring/ring-defaults "0.3.1"]
   [javax.servlet/javax.servlet-api "3.1.0"]
   [ring/ring-anti-forgery "1.1.0"]
   [ring/ring-headers "0.3.0"]
   [ring/ring-ssl "0.3.0"]
 [ring/ring-devel "1.6.2"]
   [clj-stacktrace "0.2.8"]
   [hiccup "1.0.5"]
   [ns-tracker "0.3.1"]
     [org.clojure/tools.namespace "0.2.11"]
 [ring/ring-mock "0.3.1"]
 [selmer "1.11.1"]
   [json-html "0.4.0"]
     [hiccups "0.3.0"]
       [org.clojure/clojurescript "0.0-2069"]
         [com.google.javascript/closure-compiler "v20130603"]
           [args4j "2.0.16"]
           [com.google.guava/guava "14.0.1"]
           [com.google.protobuf/protobuf-java "2.4.1"]
           [org.json/json "20090211"]
         [org.clojure/google-closure-library "0.0-20130212-95c19e7f0f5f"]
           [org.clojure/google-closure-library-third-party "0.0-20130212-95c19e7f0f5f"]
         [org.mozilla/rhino "1.7R4"]

@staypufd
Copy link
Author

staypufd commented Feb 9, 2018

Doesn't look like I pull it in somewhere else

@staypufd
Copy link
Author

staypufd commented Feb 9, 2018

Getting a little further but now it looks like I do have a conflict with libraries...

  (sns/create-platform-endpoint {:token device-token
                                             :platform-application-arn AWS-PLATFORM})

gives me this when I hit the function that calls that:

2018-02-08 18:48:55,283 [XNIO-1 task-28] DEBUG asiago.routes.services - Register device token call 
ERROR com.fasterxml.jackson.databind.ObjectMapper.enable([Lcom/fasterxml/jackson/core/JsonParser$Feature;)Lcom/fasterxml/jackson/databind/ObjectMapper;
java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectMapper.enable([Lcom/fasterxml/jackson/core/JsonParser$Feature;)Lcom/fasterxml/jackson/databind/ObjectMapper;
	at com.amazonaws.partitions.PartitionsLoader.<clinit>(PartitionsLoader.java:54)
	at com.amazonaws.regions.RegionMetadataFactory.create(RegionMetadataFactory.java:30)
	at com.amazonaws.regions.RegionUtils.initialize(RegionUtils.java:64)
	at com.amazonaws.regions.RegionUtils.getRegionMetadata(RegionUtils.java:52)
	at com.amazonaws.regions.RegionUtils.getRegion(RegionUtils.java:105)
	at com.amazonaws.client.builder.AwsClientBuilder.withRegion(AwsClientBuilder.java:239)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
	at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
	at amazonica.core$build_client.invokeStatic(core.clj:161)
	at amazonica.core$build_client.invoke(core.clj:150)
	at amazonica.core$create_client.invokeStatic(core.clj:174)
	at amazonica.core$create_client.invoke(core.clj:165)
	at amazonica.core$amazon_client_STAR_.invokeStatic(core.clj:273)
	at amazonica.core$amazon_client_STAR_.invoke(core.clj:269)
	at clojure.lang.AFn.applyToHelper(AFn.java:160)
	at clojure.lang.AFn.applyTo(AFn.java:144)
	at clojure.core$apply.invokeStatic(core.clj:646)
	at clojure.core$memoize$fn__5708.doInvoke(core.clj:6107)
	at clojure.lang.RestFn.invoke(RestFn.java:436)
	at amazonica.core$candidate_client$fn__24562.invoke(core.clj:847)
	at clojure.lang.Delay.deref(Delay.java:37)
	at clojure.core$deref.invokeStatic(core.clj:2228)
	at clojure.core$deref.invoke(core.clj:2214)
	at amazonica.core$candidate_client.invokeStatic(core.clj:848)
	at amazonica.core$candidate_client.invoke(core.clj:831)
	at amazonica.core$fn_call$fn__24570.invoke(core.clj:861)
	at clojure.lang.Delay.deref(Delay.java:37)
	at clojure.core$deref.invokeStatic(core.clj:2228)
	at clojure.core$deref.invoke(core.clj:2214)
	at amazonica.core$fn_call$fn__24572.invoke(core.clj:864)
	at amazonica.core$intern_function$fn__24608.doInvoke(core.clj:1020)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at asiago.routes.services$fn__24668$fn__24682.invoke(services.clj:139)
	at compojure.core$wrap_response$fn__2243.invoke(core.clj:158)
	at compojure.core$pre_init$fn__2340.invoke(core.clj:328)
	at compojure.api.coerce$body_coercer_middleware$fn__12201.invoke(coerce.clj:51)
	at compojure.core$pre_init$fn__2342$fn__2345.invoke(core.clj:335)
	at compojure.core$wrap_route_middleware$fn__2227.invoke(core.clj:127)
	at compojure.core$wrap_route_info$fn__2232.invoke(core.clj:137)
	at compojure.core$wrap_route_matches$fn__2236.invoke(core.clj:146)
	at compojure.core$wrap_routes$fn__2352.invoke(core.clj:348)
	at compojure.api.routes.Route.invoke(routes.clj:74)
	at compojure.core$routing$fn__2251.invoke(core.clj:185)
	at clojure.core$some.invokeStatic(core.clj:2592)
	at clojure.core$some.invoke(core.clj:2583)
	at compojure.core$routing.invokeStatic(core.clj:185)
	at compojure.core$routing.doInvoke(core.clj:182)
	at clojure.lang.RestFn.applyTo(RestFn.java:139)
	at clojure.core$apply.invokeStatic(core.clj:648)
	at clojure.core$apply.invoke(core.clj:641)
	at compojure.core$routes$fn__2255.invoke(core.clj:192)
	at compojure.core$routing$fn__2251.invoke(core.clj:185)
	at clojure.core$some.invokeStatic(core.clj:2592)
	at clojure.core$some.invoke(core.clj:2583)
	at compojure.core$routing.invokeStatic(core.clj:185)
	at compojure.core$routing.doInvoke(core.clj:182)
	at clojure.lang.RestFn.applyTo(RestFn.java:139)
	at clojure.core$apply.invokeStatic(core.clj:648)
	at clojure.core$apply.invoke(core.clj:641)
	at compojure.core$routes$fn__2255.invoke(core.clj:192)
	at compojure.core$make_context$handler__2321.invoke(core.clj:285)
	at compojure.api.routes.Route.invoke(routes.clj:74)
	at compojure.api.core$handle$fn__12396.invoke(core.clj:8)
	at clojure.core$some.invokeStatic(core.clj:2592)
	at clojure.core$some.invoke(core.clj:2583)
	at compojure.api.core$handle.invokeStatic(core.clj:8)
	at compojure.api.core$handle.invoke(core.clj:7)
	at clojure.core$partial$fn__4759.invoke(core.clj:2515)
	at compojure.api.routes.Route.invoke(routes.clj:74)
	at ring.swagger.middleware$wrap_swagger_data$fn__11632.invoke(middleware.clj:35)
	at ring.middleware.http_response$wrap_http_response$fn__6033.invoke(http_response.clj:19)
	at ring.swagger.middleware$wrap_swagger_data$fn__11632.invoke(middleware.clj:35)
	at compojure.api.middleware$wrap_options$fn__11688.invoke(middleware.clj:74)
	at ring.middleware.format_params$wrap_format_params$fn__5152.invoke(format_params.clj:117)
	at ring.middleware.format_params$wrap_format_params$fn__5152.invoke(format_params.clj:119)
	at ring.middleware.format_params$wrap_format_params$fn__5152.invoke(format_params.clj:119)
	at ring.middleware.format_params$wrap_format_params$fn__5152.invoke(format_params.clj:119)
	at ring.middleware.format_params$wrap_format_params$fn__5152.invoke(format_params.clj:119)
	at compojure.api.middleware$wrap_exceptions$fn__11678.invoke(middleware.clj:43)
	at ring.middleware.format_response$wrap_format_response$fn__5931.invoke(format_response.clj:194)
	at ring.middleware.keyword_params$wrap_keyword_params$fn__6071.invoke(keyword_params.clj:36)
	at ring.middleware.nested_params$wrap_nested_params$fn__6119.invoke(nested_params.clj:89)
	at ring.middleware.params$wrap_params$fn__6193.invoke(params.clj:67)
	at compojure.api.middleware$wrap_options$fn__11688.invoke(middleware.clj:74)
	at compojure.api.routes.Route.invoke(routes.clj:74)
	at compojure.core$routing$fn__2251.invoke(core.clj:185)
	at clojure.core$some.invokeStatic(core.clj:2592)
	at clojure.core$some.invoke(core.clj:2583)
	at compojure.core$routing.invokeStatic(core.clj:185)
	at compojure.core$routing.doInvoke(core.clj:182)
	at clojure.lang.RestFn.applyTo(RestFn.java:139)
	at clojure.core$apply.invokeStatic(core.clj:648)
	at clojure.core$apply.invoke(core.clj:641)
	at compojure.core$routes$fn__2255.invoke(core.clj:192)
	at clojure.lang.Var.invoke(Var.java:379)
	at ring.middleware.reload$wrap_reload$fn__18054.invoke(reload.clj:39)
	at selmer.middleware$wrap_error_page$fn__18067.invoke(middleware.clj:9)
	at prone.middleware$wrap_exceptions$fn__18265.invoke(middleware.clj:126)
	at ring.middleware.cors$allow_origins.invokeStatic(cors.clj:48)
	at ring.middleware.cors$allow_origins.doInvoke(cors.clj:41)
	at clojure.lang.RestFn.applyTo(RestFn.java:142)
	at clojure.core$apply.invokeStatic(core.clj:650)
	at clojure.core$apply.invoke(core.clj:641)
	at ring.middleware.cors$wrap_cors$fn__22573.invoke(cors.clj:59)
	at asiago.middleware$wrap_log$fn__22584.invoke(middleware.clj:69)
	at buddy.auth.middleware$wrap_authentication$fn__21179.invoke(middleware.clj:59)
	at buddy.auth.middleware$wrap_authorization$fn__21186.invoke(middleware.clj:110)
	at ring.middleware.flash$wrap_flash$fn__18393.invoke(flash.clj:39)
	at immutant.web.internal.undertow$wrap_undertow_session$fn__26059.invoke(undertow.clj:72)
	at ring.middleware.keyword_params$wrap_keyword_params$fn__6071.invoke(keyword_params.clj:36)
	at ring.middleware.nested_params$wrap_nested_params$fn__6119.invoke(nested_params.clj:89)
	at ring.middleware.multipart_params$wrap_multipart_params$fn__21003.invoke(multipart_params.clj:172)
	at ring.middleware.params$wrap_params$fn__6193.invoke(params.clj:67)
	at ring.middleware.cookies$wrap_cookies$fn__20727.invoke(cookies.clj:175)
	at ring.middleware.absolute_redirects$wrap_absolute_redirects$fn__21090.invoke(absolute_redirects.clj:47)
	at ring.middleware.resource$wrap_resource$fn__21019.invoke(resource.clj:37)
	at ring.middleware.content_type$wrap_content_type$fn__12496.invoke(content_type.clj:34)
	at ring.middleware.default_charset$wrap_default_charset$fn__21062.invoke(default_charset.clj:31)
	at ring.middleware.not_modified$wrap_not_modified$fn__12526.invoke(not_modified.clj:53)
	at ring.middleware.x_headers$wrap_x_header$fn__20598.invoke(x_headers.clj:22)
	at ring.middleware.x_headers$wrap_x_header$fn__20598.invoke(x_headers.clj:22)
	at ring.middleware.x_headers$wrap_x_header$fn__20598.invoke(x_headers.clj:22)
	at immutant.web.internal.undertow$create_http_handler$reify__26170.handleRequest(undertow.clj:239)
	at org.projectodd.wunderboss.web.undertow.async.websocket.UndertowWebsocket$2.handleRequest(UndertowWebsocket.java:107)
	at io.undertow.server.session.SessionAttachmentHandler.handleRequest(SessionAttachmentHandler.java:68)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:802)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

@mcohen01
Copy link
Owner

mcohen01 commented Feb 9, 2018

yeah, jackson is by far the most common dep that creates problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants