error: undefined method `+' for nil:NilClass. Use --trace to view backtrace

Issue #29 on hold
Alexander Graschuk created an issue
$ stash pull-request --trace feature/blah/D-1618842 develop @userXYZ
Password: ************
/usr/lib/ruby/1.9.1/net/http.rb:1405:in `addr_port': undefined method `+' for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/1.9.1/net/http.rb:1340:in `begin_transport'
    from /usr/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1294:in `request'
    from /var/lib/gems/1.9.1/gems/atlassian-stash-0.6.1/lib/atlassian/stash/pull_request.rb:98:in `block in create_pull_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:746:in `start'
    from /var/lib/gems/1.9.1/gems/atlassian-stash-0.6.1/lib/atlassian/stash/pull_request.rb:98:in `create_pull_request'
    from /var/lib/gems/1.9.1/gems/atlassian-stash-0.6.1/bin/stash:144:in `block (3 levels) in <top (required)>'
    from /var/lib/gems/1.9.1/gems/atlassian-stash-0.6.1/lib/atlassian/stash/git.rb:50:in `ensure_within_git!'
    from /var/lib/gems/1.9.1/gems/atlassian-stash-0.6.1/bin/stash:142:in `block (2 levels) in <top (required)>'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/command.rb:180:in `call'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/command.rb:180:in `call'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/command.rb:155:in `run'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/runner.rb:422:in `run_active_command'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/runner.rb:82:in `run!'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/delegates.rb:12:in `run!'
    from /var/lib/gems/1.9.1/gems/commander-4.1.6/lib/commander/import.rb:10:in `block in <top (required)>'

The only commit: commit 912dc1bdc79062b15a025f1bf927d92c2060b301 Author: John Doe Date: Wed Oct 7 09:27:02 2015 -0400

D-1618842 : Fix something

Fixed something

Comments (5)

  1. Alexander Graschuk reporter
    cat ~/.stashconfig.yml 
    ---
    stash_url: stash.company.com
    username: userXYZ
    remote: origin
    
  2. Seb Ruiz Account Deactivated

    @agrachtchouk can you try set it to the fully qualified url with the scheme as well (eg http://stash.company.com)

  3. Log in to comment