{"action":"created","issue":{"url":"https://api.github.com/repos/magnars/optimus/issues/35","labels_url":"https://api.github.com/repos/magnars/optimus/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/magnars/optimus/issues/35/comments","events_url":"https://api.github.com/repos/magnars/optimus/issues/35/events","html_url":"https://github.com/magnars/optimus/issues/35","id":57754925,"number":35,"title":"Issue locating assets in jar file","user":{"login":"andyparsons","id":46599,"avatar_url":"https://avatars.githubusercontent.com/u/46599?v=3","gravatar_id":"","url":"https://api.github.com/users/andyparsons","html_url":"https://github.com/andyparsons","followers_url":"https://api.github.com/users/andyparsons/followers","following_url":"https://api.github.com/users/andyparsons/following{/other_user}","gists_url":"https://api.github.com/users/andyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/andyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyparsons/subscriptions","organizations_url":"https://api.github.com/users/andyparsons/orgs","repos_url":"https://api.github.com/users/andyparsons/repos","events_url":"https://api.github.com/users/andyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/andyparsons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-16T00:54:26Z","updated_at":"2015-02-17T03:52:21Z","closed_at":null,"body":"Optimus is working nicely in our dev environment, but in packages builds we see exceptions like the one below. I've verified, in this case that the jar does contain the indicated file a the expected path.\r\n\r\n```\r\nException in thread \"main\" java.lang.ExceptionInInitializerError\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:344)\r\n\tat clojure.lang.RT.loadClassForName(RT.java:2093)\r\n\tat clojure.lang.RT.load(RT.java:430)\r\n\tat clojure.lang.RT.load(RT.java:411)\r\n\tat clojure.core$load$fn__5066.invoke(core.clj:5641)\r\n\tat clojure.core$load.doInvoke(core.clj:5640)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:408)\r\n\tat clojure.core$load_one.invoke(core.clj:5446)\r\n\tat clojure.core$load_lib$fn__5015.invoke(core.clj:5486)\r\n\tat clojure.core$load_lib.doInvoke(core.clj:5485)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:142)\r\n\tat clojure.core$apply.invoke(core.clj:626)\r\n\tat clojure.core$load_libs.doInvoke(core.clj:5524)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:137)\r\n\tat clojure.core$apply.invoke(core.clj:626)\r\n\tat clojure.core$require.doInvoke(core.clj:5607)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:408)\r\n\tat ring.server.leiningen$load_var.invoke(leiningen.clj:7)\r\n\tat ring.server.leiningen$serve.invoke(leiningen.clj:14)\r\n\tat clojure.lang.Var.invoke(Var.java:379)\r\n\tat gropius.handler.main$_main.invoke(main.clj:1)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:152)\r\n\tat clojure.lang.AFn.applyTo(AFn.java:144)\r\n\tat gropius.handler.main.main(Unknown Source)\r\nCaused by: java.lang.IllegalArgumentException: Not a file: jar:file:/Users/andy/code/kontor/gropius/target/gropius.jar!/public/sass/admin/admin.scss\r\n\tat clojure.java.io$fn__8588.invoke(io.clj:63)\r\n\tat clojure.java.io$fn__8572$G__8556__8577.invoke(io.clj:35)\r\n\tat clojure.java.io$file.invoke(io.clj:414)\r\n\tat optimus_sass.core$load_sass_asset.invoke(core.clj:18)\r\n\tat optimus_sass.core$fn__9064$fn__9065.invoke(core.clj:27)\r\n\tat clojure.lang.MultiFn.invoke(MultiFn.java:231)\r\n\tat optimus.assets.creation$load_asset_and_refs.invoke(creation.clj:71)\r\n\tat optimus.assets.creation$load_assets$fn__3613.invoke(creation.clj:99)\r\n\tat clojure.core$map$fn__4245.invoke(core.clj:2557)\r\n\tat clojure.lang.LazySeq.sval(LazySeq.java:40)\r\n\tat clojure.lang.LazySeq.seq(LazySeq.java:49)\r\n\tat clojure.lang.RT.seq(RT.java:484)\r\n\tat clojure.core$seq.invoke(core.clj:133)\r\n\tat clojure.core$apply.invoke(core.clj:624)\r\n\tat clojure.core$mapcat.doInvoke(core.clj:2586)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:423)\r\n\tat optimus.assets.creation$load_assets.invoke(creation.clj:98)\r\n\tat optimus.assets.creation$load_bundle.invoke(creation.clj:104)\r\n\tat optimus.assets.creation$load_bundles$fn__3625.invoke(creation.clj:113)\r\n\tat clojure.core$map$fn__4245.invoke(core.clj:2559)\r\n\tat clojure.lang.LazySeq.sval(LazySeq.java:40)\r\n\tat clojure.lang.LazySeq.seq(LazySeq.java:49)\r\n\tat clojure.lang.RT.seq(RT.java:484)\r\n\tat clojure.core$seq.invoke(core.clj:133)\r\n\tat clojure.core$apply.invoke(core.clj:624)\r\n\tat clojure.core$mapcat.doInvoke(core.clj:2586)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:423)\r\n\tat optimus.assets.creation$load_bundles.invoke(creation.clj:112)\r\n\tat gropius.middleware$get_assets.invoke(middleware.clj:21)\r\n\tat optimus.strategies$serve_frozen_assets.invoke(strategies.clj:40)\r\n\tat optimus.prime$wrap.doInvoke(prime.clj:4)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:470)\r\n\tat gropius.middleware$fn__9403.invoke(middleware.clj:34)\r\n\tat noir.util.middleware$wrap_middleware.invoke(middleware.clj:138)\r\n\tat noir.util.middleware$app_handler.doInvoke(middleware.clj:184)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:713)\r\n\tat gropius.handler__init.load(Unknown Source)\r\n\tat gropius.handler__init.<clinit>(Unknown Source)\r\n\t... 25 more\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/magnars/optimus/issues/comments/74613553","html_url":"https://github.com/magnars/optimus/issues/35#issuecomment-74613553","issue_url":"https://api.github.com/repos/magnars/optimus/issues/35","id":74613553,"user":{"login":"magnars","id":265785,"avatar_url":"https://avatars.githubusercontent.com/u/265785?v=3","gravatar_id":"","url":"https://api.github.com/users/magnars","html_url":"https://github.com/magnars","followers_url":"https://api.github.com/users/magnars/followers","following_url":"https://api.github.com/users/magnars/following{/other_user}","gists_url":"https://api.github.com/users/magnars/gists{/gist_id}","starred_url":"https://api.github.com/users/magnars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnars/subscriptions","organizations_url":"https://api.github.com/users/magnars/orgs","repos_url":"https://api.github.com/users/magnars/repos","events_url":"https://api.github.com/users/magnars/events{/privacy}","received_events_url":"https://api.github.com/users/magnars/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T03:52:21Z","updated_at":"2015-02-17T03:52:21Z","body":":+1: "}}