jenkinsci/jenkins.rb

Existing plugin fails to load with jenkins-plugin-runtime 0.2.3

Opened this issue · 0 comments

When running jpi server the following traceback occurs:

Trying to load models from /home/tyler/source/github/vagrant-plugin/models
Loading /home/tyler/source/github/vagrant-plugin/models/vagrant_publisher.rb
Loading /home/tyler/source/github/vagrant-plugin/models/vagrant_builder.rb
Loading /home/tyler/source/github/vagrant-plugin/models/vagrant_wrapper.rb
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:71 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:72 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:73 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:74 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:75 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:76 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:77 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:78 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:79 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:80 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:81 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:82 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:83 warning: optional boolean argument is obsoleted
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/lockfile-2.1.0/lib/lockfile.rb:84 warning: optional boolean argument is obsoleted
ArgumentError: wrong number of arguments (2 for 1)
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:116:in `register_extension'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:135:in `register_describable'
org/jruby/RubyProc.java:258:in `call'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
org/jruby/RubyArray.java:1612:in `each'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
ArgumentError: wrong number of arguments (2 for 1)
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:116:in `register_extension'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:135:in `register_describable'
org/jruby/RubyProc.java:258:in `call'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
org/jruby/RubyArray.java:1612:in `each'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
ArgumentError: wrong number of arguments (2 for 1)
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:116:in `register_extension'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:135:in `register_describable'
org/jruby/RubyProc.java:258:in `call'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
org/jruby/RubyArray.java:1612:in `each'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
ArgumentError: wrong number of arguments (2 for 1)
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:116:in `register_extension'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:135:in `register_describable'
org/jruby/RubyProc.java:258:in `call'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
org/jruby/RubyArray.java:1612:in `each'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
ArgumentError: wrong number of arguments (2 for 1)
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:116:in `register_extension'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:135:in `register_describable'
org/jruby/RubyProc.java:258:in `call'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
org/jruby/RubyArray.java:1612:in `each'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
/home/tyler/.rvm/gems/jruby-1.6.7@vagrant-plugin/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
Feb 19, 2013 9:08:43 AM jenkins.InitReactorRunner$1 onAttained