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

ava.lang.AssertionError: class hudson.plugins.templateproject.ProxyPublisher$DescriptorImpl must be assignable to class hudson.tasks.BuildStepDescriptor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      Description

      After installing version 1.1 I get the following and my hudson instance is not working at all:

      Status Code: 500

      Exception:
      Stacktrace:
      java.lang.AssertionError: class hudson.plugins.templateproject.ProxyPublisher$DescriptorImpl must be assignable to class hudson.tasks.BuildStepDescriptor
      at hudson.model.Descriptor.(Descriptor.java:235)
      at hudson.plugins.templateproject.ProxyPublisher$DescriptorImpl.(ProxyPublisher.java:73)
      at sun.reflect.GeneratedConstructorAccessor133.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at net.java.sezpoz.IndexItem.instance(IndexItem.java:149)
      at hudson.ExtensionFinder$Sezpoz.findExtensions(ExtensionFinder.java:101)
      at hudson.ExtensionList.load(ExtensionList.java:198)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:181)
      at hudson.ExtensionList.iterator(ExtensionList.java:112)
      at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:141)
      at hudson.ExtensionList.ensureLoaded(ExtensionList.java:181)
      at hudson.ExtensionList.iterator(ExtensionList.java:112)
      at hudson.model.User.load(User.java:141)
      at hudson.model.User.(User.java:112)
      at hudson.model.User.get(User.java:278)
      at hudson.security.HudsonPrivateSecurityRealm$HudsonUserDetailsService.loadUserByUsername(HudsonPrivateSecurityRealm.java:458)
      at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.loadUserDetails(TokenBasedRememberMeServices.java:308)
      at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.autoLogin(TokenBasedRememberMeServices.java:218)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:104)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:619)

      Generated by Winstone Servlet Engine v0.9.10 at Fri Feb 12 01:21:33 CET 2010

        Issue Links

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/template-project/src/main/java/hudson/plugins/templateproject/ProxyPublisher.java
          http://jenkins-ci.org/commit/27391
          Log:
          [template-project] [FIXED JENKINS-5612] I broke the plugin! needs to extend BuildStepDescriptor

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/template-project/src/main/java/hudson/plugins/templateproject/ProxyPublisher.java http://jenkins-ci.org/commit/27391 Log: [template-project] [FIXED JENKINS-5612] I broke the plugin! needs to extend BuildStepDescriptor
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          The error is gone, thanks.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - The error is gone, thanks.

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              mfriedenhagen Mirko Friedenhagen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: