java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro

Jenkins JIRA | Aleksander Sjursen | 2 years ago
  1. 0

    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. {code:java} 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) {code} Ruby version: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] Ruby runtime plugin version is: 0.12. Logs: {code:java} 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 {code}

    Jenkins JIRA | 2 years ago | Aleksander Sjursen
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
  2. 0

    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. {code:java} 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) {code} Ruby version: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] Ruby runtime plugin version is: 0.12. Logs: {code:java} 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 {code}

    Jenkins JIRA | 2 years ago | Aleksander Sjursen
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro
  3. 0

    Jenkins issues - [JIRA] (JENKINS-15792) jnidispatch (/com/sun/jna/linux-ppc64/libjnidispatch.so) not found in resource path

    nabble.com | 6 months ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/model/Run$StatusSummarizer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins throws error while loading - Failed to load RunConditionTimeoutStrategy

    Google Groups | 2 years ago | Maneesh M P
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/build_timeout/BuildTimeOutStrategy
  6. 0

    [JENKINS-22363] Upgrade of copy-project-link from v1.1 to v1.2 fails - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/TransientFolderActionFactory

  1. davidvanlaatum 1 times, last 5 months ago
  2. poroszd 1 times, last 1 month ago
22 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
    3 frames
  3. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    2. java.lang.ClassLoader.defineClass1(Native Method)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    3 frames
  4. jenkins.util
    AntClassLoader.defineClassFromData
    1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
    1 frame
  5. Hudson
    ClassicPluginStrategy$AntClassLoader2.defineClassFromData
    1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:799)
    1 frame
  6. jenkins.util
    AntClassLoader.findClass
    1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
    2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
    3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  8. jenkins
    ClassLoaderReflectionToolkit._findClass
    1. jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
    2. jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
    2 frames
  9. Hudson
    PluginManager$UberClassLoader.findClass
    1. hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1120)
    1 frame
  10. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    2 frames
  11. SezPoz
    IndexItem.element
    1. net.java.sezpoz.IndexItem.element(IndexItem.java:134)
    1 frame
  12. Hudson
    ExtensionFinder$GuiceFinder.<init>
    1. hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:629)
    2. hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
    3. hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:275)
    3 frames
  13. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    5. java.lang.Class.newInstance(Class.java:383)
    5 frames
  14. SezPoz
    IndexItem.instance
    1. net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
    1 frame
  15. Hudson
    PluginManager$PluginUpdateMonitor.getInstance
    1. hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:643)
    2. hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:618)
    3. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
    4. hudson.ExtensionList.load(ExtensionList.java:304)
    5. hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
    6. hudson.ExtensionList.iterator(ExtensionList.java:146)
    7. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:379)
    8. hudson.ExtensionList.load(ExtensionList.java:304)
    9. hudson.ExtensionList.ensureLoaded(ExtensionList.java:257)
    10. hudson.ExtensionList.get(ExtensionList.java:161)
    11. hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1258)
    11 frames
  16. Hudson Maven Embedder
    PluginImpl.init
    1. hudson.maven.PluginImpl.init(PluginImpl.java:58)
    1 frame
  17. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  18. Hudson
    TaskMethodFinder$TaskImpl.run
    1. hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
    2. hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
    2 frames
  19. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    1 frame
  20. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
    1 frame
  21. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  22. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames