java.lang.AssertionError: null while mapping key /var/folders/lh/0qt9w_d56xx1qwc4hqtjgycw0000gn/T//RtmpXHUo3I/file1fd01afe64.csv

JIRA | Ariel Rao | 2 years ago
  1. 0
  2. 0
  3. 0

    AssertionError in LocalFileSystemBase.refreshAndFindFileByIoFile

    YouTrack | 3 years ago
    java.lang.AssertionError: file:///var/folders/5f/65flw13n1ng3qbrv_dfwq_tc0000gn/T/intellijad/com/$FIRM/db/service/impl -> DirectoryInfo{module=null, isInModuleSource=false, rootTypeId=0, isInLibrarySource=true, libraryClassRoot=null, contentRoot=null, sourceRoot=file:///var/folders/5f/65flw13n1ng3qbrv_dfwq_tc0000gn/T/intellijad}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 5#50166468

    GitHub | 2 years ago | agillan
    java.lang.AssertionError: Expected: <{/var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/2-1=0, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/2/2.4/2.4.2-0=1, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.1-2=4, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/2/2.2-1=3, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.1-0=2, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.1-1=3, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.2-0=4}> got: <{/var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/2-1=0, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/2/2.4/2.4.2-0=1, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.1-2=3, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/2/2.2-1=3, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.1-0=2, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.1-1=4, /var/folders/j4/m8f6sqzd3fv1k134pbqkf7j80000gn/T/junit9031605743255637183/in/1/1.2-0=4}>
  6. 0

    Puppet Server's CA service maintains a list of the oid to mnemonic mappings in the {{puppet-short-names}} function, duplicating the same list from the `Puppet::SSL::Oids` namespace in Puppet Ruby code. Several OIDs were added to the Puppet Ruby list in PUP-5355 - see [here|https://github.com/puppetlabs/puppet/blob/4.7.0/lib/puppet/ssl/oids.rb#L56-L63] for the list as of Puppet 4.7.0 - but were not added to the corresponding Puppet Server CA list - see [here|https://github.com/puppetlabs/puppetserver/blob/2.6.0/src/clj/puppetlabs/puppetserver/certificate_authority.clj#L141-L162] for the list as of Puppet Server 2.6.0. This makes it not possible to use the names in a csr_attributes.yaml file when Puppet Server's CA creates the master certificate and in any Trapperkeeper Authorization rules which reference the names in certificate extensions. The missing mappings should be added to the Puppet Server CA service. Along with doing this work, we should also consider improving the behavior that you see when the csr_attributes.yaml file contains a name that does not match the list. Currently you see a startup error like this: {noformat} Exception in thread "main" java.lang.AssertionError: Assert failed: (keyword? kw), compiling:(/private/var/folders/y5/24bhmms53nv2b4g8gyq6tl340000gn/T/form-init2323869083754856717.clj:1:125) at clojure.lang.Compiler.load(Compiler.java:7239) at clojure.lang.Compiler.loadFile(Compiler.java:7165) at clojure.main$load_script.invoke(main.clj:275) ... Caused by: java.lang.AssertionError: Assert failed: (keyword? kw) at puppetlabs.kitchensink.core$without_ns.invoke(core.clj:566) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:175) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at user$eval5609.invoke(form-init2323869083754856717.clj:1) at clojure.lang.Compiler.eval(Compiler.java:6782) at clojure.lang.Compiler.eval(Compiler.java:6772) at clojure.lang.Compiler.load(Compiler.java:7227) ... 11 more {noformat} Erroring out at startup rather than creating a certificate / auth rule with unintended content seems reasonable. We should come up with a more descriptive error message than this which highlights what the problem is.

    JIRA | 2 months ago | russ
    java.lang.AssertionError: Assert failed: (keyword? kw), compiling:(/private/var/folders/y5/24bhmms53nv2b4g8gyq6tl340000gn/T/form-init2323869083754856717.clj:1:125)

    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.AssertionError

      null while mapping key /var/folders/lh/0qt9w_d56xx1qwc4hqtjgycw0000gn/T//RtmpXHUo3I/file1fd01afe64.csv

      at water.fvec.NewChunk.compress2()
    2. water.fvec
      ParseDataset2$MultiFileParseTask$DParse.map
      1. water.fvec.NewChunk.compress2(NewChunk.java:571)
      2. water.fvec.NewChunk.compress(NewChunk.java:446)
      3. water.fvec.NewChunk.new_close(NewChunk.java:344)
      4. water.fvec.Chunk.close(Chunk.java:157)
      5. water.fvec.ParseDataset2$FVecDataOut.close(ParseDataset2.java:708)
      6. water.fvec.ParseDataset2$MultiFileParseTask$DParse.map(ParseDataset2.java:618)
      6 frames
    3. water
      MRTask2.exec
      1. water.MRTask2.compute2(MRTask2.java:388)
      2. water.MRTask2.exec(MRTask2.java:237)
      3. water.MRTask2.exec(MRTask2.java:227)
      3 frames
    4. water.fvec
      ParseDataset2$MultiFileParseTask.map
      1. water.fvec.ParseDataset2$MultiFileParseTask.map(ParseDataset2.java:483)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.lcompute(MRTask.java:75)
      2. water.DRemoteTask.compute2(DRemoteTask.java:91)
      3. water.H2O$H2OCountedCompleter.compute(H2O.java:710)
      3 frames
    6. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames