Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28327

Undefined function on matching project.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The following happens on every matching project. I have tried using several different versions of Gitlab Hook Plugin without success. It breaks automatic builds entirely.

      May 10, 2015 9:09:34 PM SEVERE org.jruby.javasupport.JavaMethod invokeDirectWithExceptionHandling
      undefined method `automatic_project_creation?' for nil:NilClass
      org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `automatic_project_creation?' for nil:NilClass
      	at RUBY.get_projects_to_process(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_commit.rb:29)
      	at RUBY.with(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_commit.rb:15)
      	at RUBY.process_projects(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/api.rb:46)
      	at RUBY.POST /build_now(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/api.rb:30)
      	at org.jruby.RubyMethod.call(org/jruby/RubyMethod.java:118)
      	at RUBY.compile!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249)
      	at RUBY.route!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:835)
      	at RUBY.route_eval(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:851)
      	at RUBY.route!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:835)
      	at RUBY.process_route(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:872)
      	at org.jruby.RubyKernel.catch(org/jruby/RubyKernel.java:1174)
      	at RUBY.process_route(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:870)
      	at RUBY.route!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:834)
      	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
      	at RUBY.route!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:833)
      	at RUBY.dispatch!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:936)
      	at RUBY.call!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:769)
      	at RUBY.invoke(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:921)
      	at org.jruby.RubyKernel.catch(org/jruby/RubyKernel.java:1174)
      	at RUBY.invoke(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:921)
      	at RUBY.call!(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:769)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:755)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-1.4.1/lib/rack/nulllogger.rb:9)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/rack-1.4.1/lib/rack/head.rb:9)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb:21)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/sinatra-1.3.3/lib/sinatra/base.rb:99)
      	at RUBY.call(/var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action.rb:18)
      	at RUBY.call(file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-rack-1.1.13.1.jar!/rack/handler/servlet.rb:22)
      

      Ruby version:
      ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
      Ruby runtime plugin version is:
      0.12.

      Logs:

      INFO: Injecting JRuby into XStream
      Trying to load models from /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:22 warning: already initialized constant MultipleScmsPluginAvailable
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:10 warning: already initialized constant MERGE_REQUEST_PROCESSING
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:11 warning: already initialized constant AUTOMATIC_PROJECT_CREATION_PROPERTY
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:12 warning: already initialized constant MASTER_BRANCH_PROPERTY
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:13 warning: already initialized constant USE_MASTER_PROJECT_NAME_PROPERTY
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:14 warning: already initialized constant DESCRIPTION_PROPERTY
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/gitlab_notifier.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/api.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/unprotected_root_action.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/crumb_exclusion.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action.rb:12 warning: already initialized constant WEB_HOOK_ROOT_URL
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/util/settings.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/scm_data.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/payload_request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/merge_request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:18 warning: already initialized constant MultipleScmsPluginAvailable
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:22 warning: already initialized constant MultipleScmsPluginAvailable
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:27 warning: already initialized constant BRANCH_NAME_PARAMETER_ACCEPTED_TYPES
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/abstract_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/repository_uri.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/parameters_request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/build_scm.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/security.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/flat_keys_hash.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/flat_keys_hash.rb:4 warning: already initialized constant FLATTENED_KEYS_DELIMITER
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_jenkins_projects.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/parse_request.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/parse_request.rb:11 warning: already initialized constant EMPTY_BODY
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_build_actions.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_build_cause.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_parameters_values.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/exceptions/not_found_exception.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/exceptions/configuration_exception.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/exceptions/bad_request_exception.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_merge_request.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_delete_commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/notify_commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/create_project_for_branch.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/build_now.rb
      REXML::ParseException: #<REXML::ParseException: No close tag for /hudson.model.Descriptor/use_master_project_name>
      jar:file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/rexml/parsers/treeparser.rb:28:in `parse'
      jar:file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/rexml/document.rb:243:in `build'
      jar:file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/rexml/document.rb:43:in `initialize'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:43:in `load'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:17:in `initialize'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:133:in `register_describable'
      org/jruby/RubyProc.java:249:in `call'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
      org/jruby/RubyArray.java:1613:in `each'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
      ...
      No close tag for /hudson.model.Descriptor/use_master_project_name
      Line: 5
      Position: 218
      Last 80 unconsumed characters:
      
      jar:file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/rexml/parsers/treeparser.rb:95:in `parse'
      jar:file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/rexml/document.rb:243:in `build'
      jar:file:/var/lib/jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/rexml/document.rb:43:in `initialize'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:43:in `load'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:17:in `initialize'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:133:in `register_describable'
      org/jruby/RubyProc.java:249:in `call'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:250:in `callback'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:245:in `fire'
      org/jruby/RubyArray.java:1613:in `each'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:244:in `fire'
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin.rb:148:in `start'
      May 11, 2015 10:44:10 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins
      May 11, 2015 10:44:11 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started all plugins
      May 11, 2015 10:44:11 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Augmented all extensions
      May 11, 2015 10:44:12 AM hudson.ExtensionFinder$Sezpoz scout
      WARNING: Failed to scout com.nirima.jenkins.token.RepositoryTokenMacro
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      	at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:667)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:380)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.iterator(ExtensionList.java:146)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:379)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.get(ExtensionList.java:161)
      	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1258)
      	at hudson.maven.PluginImpl.init(PluginImpl.java:58)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      	at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      	at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1120)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      	... 24 more
      Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 40 more
      
      May 11, 2015 10:44:13 AM hudson.ExtensionFinder$Sezpoz _find
      WARNING: Failed to load com.nirima.jenkins.token.RepositoryTokenMacro
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:629)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
      	at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:257)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at java.lang.Class.newInstance(Class.java:383)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:643)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.iterator(ExtensionList.java:146)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:379)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.get(ExtensionList.java:161)
      	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1258)
      	at hudson.maven.PluginImpl.init(PluginImpl.java:58)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      	at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      	at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1120)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      	... 34 more
      Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 50 more
      
      May 11, 2015 10:44:13 AM hudson.ExtensionFinder$Sezpoz _find
      WARNING: Failed to load com.nirima.jenkins.token.RepositoryTokenMacro
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:629)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
      	at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:275)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at java.lang.Class.newInstance(Class.java:383)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:643)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.iterator(ExtensionList.java:146)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:379)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.get(ExtensionList.java:161)
      	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1258)
      	at hudson.maven.PluginImpl.init(PluginImpl.java:58)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      	at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      	at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1120)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      	... 34 more
      Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 50 more
      
      May 11, 2015 10:44:14 AM hudson.ExtensionFinder$GuiceFinder$SezpozModule configure
      WARNING: Failed to load com.nirima.jenkins.token.RepositoryTokenMacro
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:505)
      	at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
      	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:230)
      	at com.google.inject.spi.Elements.getElements(Elements.java:103)
      	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
      	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
      	at com.google.inject.Guice.createInjector(Guice.java:96)
      	at com.google.inject.Guice.createInjector(Guice.java:73)
      	at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:280)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at java.lang.Class.newInstance(Class.java:383)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:643)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.iterator(ExtensionList.java:146)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:379)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.get(ExtensionList.java:161)
      	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1258)
      	at hudson.maven.PluginImpl.init(PluginImpl.java:58)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      	at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      	at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1120)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      	... 40 more
      Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 56 more
      
      May 11, 2015 10:44:17 AM hudson.ExtensionFinder$Sezpoz _find
      WARNING: Failed to load com.nirima.jenkins.token.RepositoryTokenMacro
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      	at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:629)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.iterator(ExtensionList.java:146)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:379)
      	at hudson.ExtensionList.load(ExtensionList.java:304)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
      	at hudson.ExtensionList.get(ExtensionList.java:161)
      	at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1258)
      	at hudson.maven.PluginImpl.init(PluginImpl.java:58)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      	at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
      	at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
      	at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
      	at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1120)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
      	... 25 more
      Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 41 more
      
      May 11, 2015 10:44:19 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      May 11, 2015 10:44:19 AM hudson.model.AsyncPeriodicWork$1 run
      INFO: Started Download metadata
      May 11, 2015 10:44:20 AM org.jenkinsci.main.modules.sshd.SSHD start
      INFO: Started SSHD at port 54865
      May 11, 2015 10:44:20 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization
      May 11, 2015 10:44:21 AM org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
      INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@1afa9583: display name [Root WebApplicationContext]; startup date [Mon May 11 10:44:21 CEST 2015]; root of context hierarchy
      May 11, 2015 10:44:21 AM org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
      INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1afa9583]: org.springframework.beans.factory.support.DefaultListableBeanFactory@e4c4eed
      May 11, 2015 10:44:21 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e4c4eed: defining beans [authenticationManager]; root of factory hierarchy
      May 11, 2015 10:44:21 AM org.springframework.web.context.support.StaticWebApplicationContext prepareRefresh
      INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@5f52aa8a: display name [Root WebApplicationContext]; startup date [Mon May 11 10:44:21 CEST 2015]; root of context hierarchy
      May 11, 2015 10:44:21 AM org.springframework.web.context.support.StaticWebApplicationContext obtainFreshBeanFactory
      INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@5f52aa8a]: org.springframework.beans.factory.support.DefaultListableBeanFactory@4226f210
      May 11, 2015 10:44:21 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4226f210: defining beans [filter,legacy]; root of factory hierarchy
      May 11, 2015 10:44:21 AM hudson.WebAppMain$3 run
      INFO: Jenkins is fully up and running
      

        Attachments

          Activity

          Hide
          javiplx Javier Palacios added a comment -

          We are running 1.577, and tests are done against 1.432.3. Do you have any chance of testing in an older jenkins version? I'll try to test it on latest LTS in the meantime.

          Show
          javiplx Javier Palacios added a comment - We are running 1.577, and tests are done against 1.432.3. Do you have any chance of testing in an older jenkins version? I'll try to test it on latest LTS in the meantime.
          Hide
          javiplx Javier Palacios added a comment -

          Installing version 1.1.0 should also be a feasible workaround, because the issue is related to global plugin configuration introduced in 1.2.0.
          Please, add if possible jenkins startup log, below 'Injecting JRuby into XStream'. Also the ruby/jruby installed versions might help.

          Show
          javiplx Javier Palacios added a comment - Installing version 1.1.0 should also be a feasible workaround, because the issue is related to global plugin configuration introduced in 1.2.0. Please, add if possible jenkins startup log, below 'Injecting JRuby into XStream'. Also the ruby/jruby installed versions might help.
          Hide
          projectinfinity Aleksander Sjursen added a comment -

          Updated original report with the data you requested.

          Show
          projectinfinity Aleksander Sjursen added a comment - Updated original report with the data you requested.
          Hide
          javiplx Javier Palacios added a comment -

          There is a bad line here

          REXML::ParseException: #<REXML::ParseException: No close tag for /hudson.model.Descriptor/use_master_project_name>
          ...
          No close tag for /hudson.model.Descriptor/use_master_project_name
          Line: 5
          Position: 218
          

          Please, attach your gitlab-hook-GitlabWebHookRootAction.xml, and then try to fix the xml file.
          If unable to fix, removing that file might alleviate the issue, although I actually don't believe will be even a temporary a solution.

          The good point is that now I have an idea about the origin of the issue.

          Show
          javiplx Javier Palacios added a comment - There is a bad line here REXML::ParseException: #<REXML::ParseException: No close tag for /hudson.model.Descriptor/use_master_project_name> ... No close tag for /hudson.model.Descriptor/use_master_project_name Line: 5 Position: 218 Please, attach your gitlab-hook-GitlabWebHookRootAction.xml, and then try to fix the xml file. If unable to fix, removing that file might alleviate the issue, although I actually don't believe will be even a temporary a solution. The good point is that now I have an idea about the origin of the issue.
          Hide
          javiplx Javier Palacios added a comment -

          I've captured the point when exception happens. This should remove the system-wide exception, although all configurable items will revert to default values. I've tested with 1.596.2 and 1.613, and both cases were able to write the configuration properly. As I'm using ruby 1.9.3, I'll try to repeat the tests with 2.0.0 to check for any different behaviour.
          You can get the fixed version from http://maven.jenkins-ci.org/content/repositories/snapshots/org/jenkins-ci/ruby-plugins/gitlab-hook/1.4.1-SNAPSHOT

          Show
          javiplx Javier Palacios added a comment - I've captured the point when exception happens. This should remove the system-wide exception, although all configurable items will revert to default values. I've tested with 1.596.2 and 1.613, and both cases were able to write the configuration properly. As I'm using ruby 1.9.3, I'll try to repeat the tests with 2.0.0 to check for any different behaviour. You can get the fixed version from http://maven.jenkins-ci.org/content/repositories/snapshots/org/jenkins-ci/ruby-plugins/gitlab-hook/1.4.1-SNAPSHOT
          Hide
          projectinfinity Aleksander Sjursen added a comment -

          Great, that fixes the issue. Thank you so much.

          Show
          projectinfinity Aleksander Sjursen added a comment - Great, that fixes the issue. Thank you so much.
          Hide
          javiplx Javier Palacios added a comment -

          Please, save once the global jenkins configuration an send me the gitlab-hook-GitlabWebHookRootAction.xml file, to check whether it is properly written.

          Show
          javiplx Javier Palacios added a comment - Please, save once the global jenkins configuration an send me the gitlab-hook-GitlabWebHookRootAction.xml file, to check whether it is properly written.
          Hide
          projectinfinity Aleksander Sjursen added a comment -

          Where might I find this file? I could not see it in /var/lib/jenkins/plugins/gitlab-hook

          Show
          projectinfinity Aleksander Sjursen added a comment - Where might I find this file? I could not see it in /var/lib/jenkins/plugins/gitlab-hook
          Hide
          javiplx Javier Palacios added a comment -

          It's at the jenkins home, on /var/lib/jenkins

          Show
          javiplx Javier Palacios added a comment - It's at the jenkins home, on /var/lib/jenkins
          Hide
          projectinfinity Aleksander Sjursen added a comment -

          Added the file as an attachment.

          Show
          projectinfinity Aleksander Sjursen added a comment - Added the file as an attachment.

            People

            • Assignee:
              javiplx Javier Palacios
              Reporter:
              projectinfinity Aleksander Sjursen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: