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

Hudson web interface is unviewable (encoding error) when Release plugin is enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • release-plugin
    • None
    • Platform: All, OS: Linux

    Description

      Using Hudson 1.333

      With the release plugin enabled (version 1.8), I get a content encoding error
      when I try to view Hudson. When the release plugin is disabled, I can load and
      interact with Hudson in my browser.

      When the release plugin is enabled, there are a lot of exceptions that start
      with a failure to load the release plugin.

      WARNING: Failed to load a project
      java.lang.NoClassDefFoundError:
      hudson/plugins/release/dashboard/RecentReleasesPortlet
      at java.lang.Class.getDeclaringClass(Native Method)
      at java.lang.Class.getEnclosingClass(Class.java:1102)
      at hudson.model.Descriptor.<init>(Descriptor.java:216)
      at
      hudson.plugins.release.dashboard.RecentReleasesPortlet$DescriptorImpl.<init>(RecentReleasesPortlet.java:118)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

      And when it tries to start one of my slaves:

      Nov 12, 2009 10:37:10 AM hudson.ExpressionFactory2$JexlExpression evaluate
      WARNING: Caught exception evaluating: it.statData. Reason:
      java.lang.reflect.InvocationTargetException
      java.lang.reflect.InvocationTargetException
      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:616)
      at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
      at
      org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)

      It's not clear to me whether (or why) the release plugin failure is related to
      these other failures, but disabling the release plugin makes these failures go away.

      Attachments

        Issue Links

          Activity

            dbacher1 dbacher1 added a comment -

            I just saw the comments at the bottom of the Release plugin wiki page about the
            Dashboard View plugin (which I don't have installed). I'll install that.

            dbacher1 dbacher1 added a comment - I just saw the comments at the bottom of the Release plugin wiki page about the Dashboard View plugin (which I don't have installed). I'll install that.
            petehayes Peter Hayes added a comment -

            Fixed in 1.9

            petehayes Peter Hayes added a comment - Fixed in 1.9

            Code changed in hudson
            User: : petehayes
            Path:
            trunk/hudson/plugins/release/pom.xml
            trunk/hudson/plugins/release/src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java
            trunk/hudson/plugins/release/src/main/resources/hudson/plugins/release/dashboard/RecentReleasesPortlet/config.jelly
            http://fisheye4.cenqua.com/changelog/hudson/?cs=23742
            Log:
            JENKINS-4845 Conditional registration of dashboard view portlet prevents exception that stops Hudson from starting

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : petehayes Path: trunk/hudson/plugins/release/pom.xml trunk/hudson/plugins/release/src/main/java/hudson/plugins/release/dashboard/RecentReleasesPortlet.java trunk/hudson/plugins/release/src/main/resources/hudson/plugins/release/dashboard/RecentReleasesPortlet/config.jelly http://fisheye4.cenqua.com/changelog/hudson/?cs=23742 Log: JENKINS-4845 Conditional registration of dashboard view portlet prevents exception that stops Hudson from starting

            People

              petehayes Peter Hayes
              dbacher1 dbacher1
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: