Skip to content
This repository was archived by the owner on Nov 29, 2017. It is now read-only.
This repository was archived by the owner on Nov 29, 2017. It is now read-only.

Failed to do cf push, on uploading #275

@sahil912

Description

@sahil912

I have downloaded the concept insight from

https://github.com/watson-developer-cloud/concept-insights-nodejs

and tried to follow the steps mentioned here

https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/getting_started/gs-full-nodejs.shtml

I am using CF version 5.4.7 and ruby version ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]

but the below command is giving crash

 cf push

please find the logs here
https://docs.google.com/document/d/1J1zKckBXW1BS1WcK9zRdG0qocx-N0on9zuy54O4bTdc/edit

../../.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/continuation.bundle: warning: callcc is obsolete; use Fiber instead
Warning: declared-services is not a valid manifest attribute. Please remove this attribute from your manifest to get rid of this warning
Using manifest file manifest.yml

Upload failed. Try again with 'cf push'.
Time of crash:
2015-08-24 12:40:11 +0530

NoMethodError: undefined method `[]' for nil:NilClass

cf-5.4.7/lib/manifests/manifests.rb:302:in block in setup_services' cf-5.4.7/lib/manifests/manifests.rb:296:ineach'
cf-5.4.7/lib/manifests/manifests.rb:296:in setup_services' cf-5.4.7/lib/manifests/plugin.rb:102:inblock in push_with_manifest'
mothership-0.5.1/lib/mothership/callbacks.rb:55:in instance_exec' mothership-0.5.1/lib/mothership/callbacks.rb:55:inblock in filter'
mothership-0.5.1/lib/mothership/callbacks.rb:54:in each' mothership-0.5.1/lib/mothership/callbacks.rb:54:infilter'
cf-5.4.7/lib/cf/cli/app/push.rb:82:in upload_app' cf-5.4.7/lib/cf/cli/app/push.rb:65:insync_app'
cf-5.4.7/lib/cf/cli/app/push.rb:46:in push' mothership-0.5.1/lib/mothership/base.rb:66:inrun'
mothership-0.5.1/lib/mothership/command.rb:72:in block in invoke' cf-5.4.7/lib/manifests/plugin.rb:108:incall'
cf-5.4.7/lib/manifests/plugin.rb:108:in block in push_with_manifest' mothership-0.5.1/lib/mothership/callbacks.rb:74:inwith_filters'
cf-5.4.7/lib/manifests/plugin.rb:95:in push_with_manifest' cf-5.4.7/lib/manifests/plugin.rb:90:inblock in wrap_push'
cf-5.4.7/lib/cf/spacing.rb:40:in block in spaced' cf-5.4.7/lib/cf/spacing.rb:38:ineach'
cf-5.4.7/lib/cf/spacing.rb:38:in spaced' cf-5.4.7/lib/manifests/plugin.rb:89:inwrap_push'
cf-5.4.7/lib/manifests/plugin.rb:25:in block in <class:ManifestsPlugin>' mothership-0.5.1/lib/mothership/command.rb:82:ininstance_exec'
mothership-0.5.1/lib/mothership/command.rb:82:in block (2 levels) in invoke' mothership-0.5.1/lib/mothership/command.rb:86:ininstance_exec'
mothership-0.5.1/lib/mothership/command.rb:86:in invoke' mothership-0.5.1/lib/mothership/base.rb:55:inexecute'
cf-5.4.7/lib/cf/cli.rb:195:in block (2 levels) in execute' cf-5.4.7/lib/cf/cli.rb:206:insave_token_if_it_changes'
cf-5.4.7/lib/cf/cli.rb:194:in block in execute' cf-5.4.7/lib/cf/cli.rb:123:inwrap_errors'
cf-5.4.7/lib/cf/cli.rb:190:in execute' mothership-0.5.1/lib/mothership.rb:45:instart'
cf-5.4.7/bin/cf:18:in <top (required)>' ruby-2.2.0/bin/cf:23:inload'
ruby-2.2.0/bin/cf:23:in <main>' ruby-2.2.0/bin/ruby_executable_hooks:15:ineval'
ruby-2.2.0/bin/ruby_executable_hooks:15:in `

'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions