- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Error running Java Recipe: undefined method `split' for nil:NilClass
- Date: Thu, 30 Apr 2015 07:32:54 -0700
On Wednesday, April 29, 2015 at 3:54 PM, Christopher Hahn wrote:
>
Hello all,
>
>
I am running a java recipe that is checked out from a Repository that
>
I do not have write access to, and so I am using my cookbooks attributes
>
file to change how the software is installed.
>
>
We are using Chef 10.14.4 with Vagrant 1.4.3 (versions fixed and out of my
>
control)
>
>
I was asked to change the recipe to install Java version 8.
snip...
>
NoMethodError
>
-------------
>
undefined method `split' for nil:NilClass
>
>
Cookbook Trace:
>
---------------
>
/tmp/vagrant-chef-1/chef-solo-2/cookbooks/java/providers/ark.rb:25:in
>
`parse_app_dir_name'
You’ll want to see what this code is doing to help figure out what’s going on.
>
>
I would be arguing that we need to try upgrading, but this deployment works
>
on some system
>
but not on others....I am thinking that I have some gem version mismatch
>
but am not clear on
>
how I might determine this....
>
>
All apologies if this is documented....I looked.
>
>
Thank you,
>
>
Christopher
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.