java.lang.IllegalArgumentException: Not a file: jar:file:/opt/puppetlabs/server/apps/puppetdb/puppetdb.jar!/puppetlabs/puppetdb/benchmark/samples/facts

JIRA | Andrew Hayes | 1 year ago
  1. 0

    When attempting to run the load test tool with no specified catalogs, it hits an exception. *To re-create* * Install PE from neptune using beaker. * Installed on Centos 7 VM from the pooler (Monolithic configuration) * ssh onto the VM as root * run puppet agent: "puppet agent -t" * install java "yum install java" * create config.ini file * run load tester "/usr/bin/java -cp /opt/puppetlabs/server/apps/puppetdb/puppetdb.jar clojure.main -m puppetlabs.puppetdcli.benchmark --config config.ini --numhosts 10 --rand-perc 1 -N 2 -t 2" *config.ini:* {code:config.ini} [jetty] host=localhost port=8080 {code} *Build numbers:* PE: 2015.3.0-rc4-5 PuppetDB: 3.2.0-0.1SNAPSHOT.2015.10.16T1334.el7 *Whats seen:* {code:stackTrace} [root@s20p1spqzunzl0f ~]# /usr/bin/java -cp /opt/puppetlabs/server/apps/puppetdb/puppetdb.jar clojure.main -m puppetlabs.puppetdcli.benchmark --config config.ini --numhosts 10 --rand-perc 1 -N 2 -t 2 Exception in thread "main" java.lang.IllegalArgumentException: Not a file: jar:file:/opt/puppetlabs/server/apps/puppetdb/puppetdb.jar!/puppetlabs/puppetdb/benchmark/samples/facts at clojure.java.io$fn__9085.invoke(io.clj:63) at clojure.java.io$fn__9059$G__9041__9064.invoke(io.clj:35) at clojure.java.io$file.invoke(io.clj:414) at puppetlabs.puppetdb.cli.benchmark$load_sample_data.invoke(benchmark.clj:72) at puppetlabs.puppetdb.cli.benchmark$load_data_from_options$fn__27328.invoke(benchmark.clj:327) at puppetlabs.kitchensink.core$mapvals$iter__8294__8298$fn__8299.invoke(core.clj:310) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.RT.seq(RT.java:507) at clojure.core$seq__4128.invoke(core.clj:137) at clojure.core.protocols$seq_reduce.invoke(protocols.clj:30) at clojure.core.protocols$fn__6506.invoke(protocols.clj:101) at clojure.core.protocols$fn__6452$G__6447__6465.invoke(protocols.clj:13) at clojure.core$reduce.invoke(core.clj:6519) at clojure.core$into.invoke(core.clj:6600) at puppetlabs.kitchensink.core$mapvals.invoke(core.clj:310) at puppetlabs.puppetdb.cli.benchmark$load_data_from_options.invoke(benchmark.clj:327) at puppetlabs.puppetdb.cli.benchmark$benchmark_main.doInvoke(benchmark.clj:396) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.puppetdb.cli.benchmark$_main.doInvoke(benchmark.clj:462) at clojure.lang.RestFn.invoke(RestFn.java:805) at clojure.lang.Var.invoke(Var.java:455) at clojure.lang.AFn.applyToHelper(AFn.java:216) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at clojure.main$main_opt.invoke(main.clj:316) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:1096) at clojure.lang.Var.invoke(Var.java:484) at clojure.lang.AFn.applyToHelper(AFn.java:241) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) {code}

    JIRA | 1 year ago | Andrew Hayes
    java.lang.IllegalArgumentException: Not a file: jar:file:/opt/puppetlabs/server/apps/puppetdb/puppetdb.jar!/puppetlabs/puppetdb/benchmark/samples/facts
  2. 0

    When attempting to run the load test tool with no specified catalogs, it hits an exception. *To re-create* * Install PE from neptune using beaker. * Installed on Centos 7 VM from the pooler (Monolithic configuration) * ssh onto the VM as root * run puppet agent: "puppet agent -t" * install java "yum install java" * create config.ini file * run load tester "/usr/bin/java -cp /opt/puppetlabs/server/apps/puppetdb/puppetdb.jar clojure.main -m puppetlabs.puppetdcli.benchmark --config config.ini --numhosts 10 --rand-perc 1 -N 2 -t 2" *config.ini:* {code:config.ini} [jetty] host=localhost port=8080 {code} *Build numbers:* PE: 2015.3.0-rc4-5 PuppetDB: 3.2.0-0.1SNAPSHOT.2015.10.16T1334.el7 *Whats seen:* {code:stackTrace} [root@s20p1spqzunzl0f ~]# /usr/bin/java -cp /opt/puppetlabs/server/apps/puppetdb/puppetdb.jar clojure.main -m puppetlabs.puppetdcli.benchmark --config config.ini --numhosts 10 --rand-perc 1 -N 2 -t 2 Exception in thread "main" java.lang.IllegalArgumentException: Not a file: jar:file:/opt/puppetlabs/server/apps/puppetdb/puppetdb.jar!/puppetlabs/puppetdb/benchmark/samples/facts at clojure.java.io$fn__9085.invoke(io.clj:63) at clojure.java.io$fn__9059$G__9041__9064.invoke(io.clj:35) at clojure.java.io$file.invoke(io.clj:414) at puppetlabs.puppetdb.cli.benchmark$load_sample_data.invoke(benchmark.clj:72) at puppetlabs.puppetdb.cli.benchmark$load_data_from_options$fn__27328.invoke(benchmark.clj:327) at puppetlabs.kitchensink.core$mapvals$iter__8294__8298$fn__8299.invoke(core.clj:310) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.RT.seq(RT.java:507) at clojure.core$seq__4128.invoke(core.clj:137) at clojure.core.protocols$seq_reduce.invoke(protocols.clj:30) at clojure.core.protocols$fn__6506.invoke(protocols.clj:101) at clojure.core.protocols$fn__6452$G__6447__6465.invoke(protocols.clj:13) at clojure.core$reduce.invoke(core.clj:6519) at clojure.core$into.invoke(core.clj:6600) at puppetlabs.kitchensink.core$mapvals.invoke(core.clj:310) at puppetlabs.puppetdb.cli.benchmark$load_data_from_options.invoke(benchmark.clj:327) at puppetlabs.puppetdb.cli.benchmark$benchmark_main.doInvoke(benchmark.clj:396) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.puppetdb.cli.benchmark$_main.doInvoke(benchmark.clj:462) at clojure.lang.RestFn.invoke(RestFn.java:805) at clojure.lang.Var.invoke(Var.java:455) at clojure.lang.AFn.applyToHelper(AFn.java:216) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at clojure.main$main_opt.invoke(main.clj:316) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:1096) at clojure.lang.Var.invoke(Var.java:484) at clojure.lang.AFn.applyToHelper(AFn.java:241) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) {code}

    JIRA | 1 year ago | Andrew Hayes
    java.lang.IllegalArgumentException: Not a file: jar:file:/opt/puppetlabs/server/apps/puppetdb/puppetdb.jar!/puppetlabs/puppetdb/benchmark/samples/facts
  3. 0

    Javascript error crashes figwheel repl

    GitHub | 1 year ago | grav
    java.lang.IllegalArgumentException: Not a file: http://localhost:3449/js/compiled/out/figwheel/client/utils.js
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    lein2 on windows does not function

    GitHub | 5 years ago | vladp
    java.lang.IllegalArgumentException: c:\home\vladik\de vel\cascalog-1.9-wip5\target\classes is not a relative path
  6. 0

    Multiple java source paths makes leiningen 1.7.0 crash

    GitHub | 5 years ago | ljos
    java.lang.IllegalArgumentException: No implementation of method: :as-file of protocol: #'clojure.java.io/Coercions found for class: clojure.lang.PersistentVector (project.clj:1)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Not a file: jar:file:/opt/puppetlabs/server/apps/puppetdb/puppetdb.jar!/puppetlabs/puppetdb/benchmark/samples/facts

      at clojure.java.io$fn__9085.invoke()
    2. Clojure
      io$file.invoke
      1. clojure.java.io$fn__9085.invoke(io.clj:63)
      2. clojure.java.io$fn__9059$G__9041__9064.invoke(io.clj:35)
      3. clojure.java.io$file.invoke(io.clj:414)
      3 frames
    3. puppetlabs.puppetdb.cli
      benchmark$load_data_from_options$fn__27328.invoke
      1. puppetlabs.puppetdb.cli.benchmark$load_sample_data.invoke(benchmark.clj:72)
      2. puppetlabs.puppetdb.cli.benchmark$load_data_from_options$fn__27328.invoke(benchmark.clj:327)
      2 frames
    4. puppetlabs.kitchensink
      core$mapvals$iter__8294__8298$fn__8299.invoke
      1. puppetlabs.kitchensink.core$mapvals$iter__8294__8298$fn__8299.invoke(core.clj:310)
      1 frame
    5. Clojure
      core$into.invoke
      1. clojure.lang.LazySeq.sval(LazySeq.java:40)
      2. clojure.lang.LazySeq.seq(LazySeq.java:49)
      3. clojure.lang.RT.seq(RT.java:507)
      4. clojure.core$seq__4128.invoke(core.clj:137)
      5. clojure.core.protocols$seq_reduce.invoke(protocols.clj:30)
      6. clojure.core.protocols$fn__6506.invoke(protocols.clj:101)
      7. clojure.core.protocols$fn__6452$G__6447__6465.invoke(protocols.clj:13)
      8. clojure.core$reduce.invoke(core.clj:6519)
      9. clojure.core$into.invoke(core.clj:6600)
      9 frames
    6. puppetlabs.kitchensink
      core$mapvals.invoke
      1. puppetlabs.kitchensink.core$mapvals.invoke(core.clj:310)
      1 frame
    7. puppetlabs.puppetdb.cli
      benchmark$benchmark_main.doInvoke
      1. puppetlabs.puppetdb.cli.benchmark$load_data_from_options.invoke(benchmark.clj:327)
      2. puppetlabs.puppetdb.cli.benchmark$benchmark_main.doInvoke(benchmark.clj:396)
      2 frames
    8. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      2. clojure.core$apply.invoke(core.clj:630)
      2 frames
    9. puppetlabs.puppetdb.cli
      benchmark$_main.doInvoke
      1. puppetlabs.puppetdb.cli.benchmark$_main.doInvoke(benchmark.clj:462)
      1 frame
    10. Clojure
      main.main
      1. clojure.lang.RestFn.invoke(RestFn.java:805)
      2. clojure.lang.Var.invoke(Var.java:455)
      3. clojure.lang.AFn.applyToHelper(AFn.java:216)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invoke(core.clj:630)
      6. clojure.main$main_opt.invoke(main.clj:316)
      7. clojure.main$main.doInvoke(main.clj:421)
      8. clojure.lang.RestFn.invoke(RestFn.java:1096)
      9. clojure.lang.Var.invoke(Var.java:484)
      10. clojure.lang.AFn.applyToHelper(AFn.java:241)
      11. clojure.lang.Var.applyTo(Var.java:700)
      12. clojure.main.main(main.java:37)
      12 frames