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

Failed to load hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: emma-plugin
    • Labels:
      None
    • Environment:
      Emmap Plugin 1.24
      Jenkins 1.397
      Dashboard plugin not installed
    • Similar Issues:

      Description

      I got the following exception.

      2011/02/21 23:05:07 hudson.ExtensionFinder$Sezpoz find
      警告: Failed to load hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl
      java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/view/dashboard/DashboardPortlet
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:180)
      	at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:180)
      	at hudson.ExtensionFinder._find(ExtensionFinder.java:94)
      	at hudson.ExtensionList.load(ExtensionList.java:261)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:218)
      	at hudson.ExtensionList.getComponents(ExtensionList.java:126)
      	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:155)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:218)
      	at hudson.ExtensionList.iterator(ExtensionList.java:115)
      	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:101)
      	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      	at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:72)
      	at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:114)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:551)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:160)
      	at javax.servlet.http.HttpServlet.service(Unknown Source)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:157)
      	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:131)
      	at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:82)
      	at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:69)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:162)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
      	at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
      	at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
      	at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
      	at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
      	at org.apache.jk.server.JkCoyoteHandler.invoke(Unknown Source)
      	at org.apache.jk.common.HandlerRequest.invoke(Unknown Source)
      	at org.apache.jk.common.ChannelSocket.invoke(Unknown Source)
      	at org.apache.jk.common.ChannelSocket.processConnection(Unknown Source)
      	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(Unknown Source)
      	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NoClassDefFoundError: hudson/plugins/view/dashboard/DashboardPortlet
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      	at java.lang.Class.getDeclaringClass(Native Method)
      	at java.lang.Class.getEnclosingClass(Class.java:1085)
      	at hudson.model.Descriptor.(Descriptor.java:222)
      	at hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl.(EmmaBuilderTrendChart.java:239)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      	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:168)
      	... 64 more
      Caused by: java.lang.ClassNotFoundException: hudson.plugins.view.dashboard.DashboardPortlet
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      	... 86 more
      

        Attachments

          Issue Links

            Activity

            Hide
            sslavic Stevo Slavić added a comment -

            +1 it's still there in Jenkins 1.421 and Emma Plugin 1.25, and "Dashboard View" not installed.

            Show
            sslavic Stevo Slavić added a comment - +1 it's still there in Jenkins 1.421 and Emma Plugin 1.25, and "Dashboard View" not installed.
            Hide
            jlpinardon jlpinardon added a comment -

            Still there with Jenkins 1.435 and Emma Plugin 1.26

            Show
            jlpinardon jlpinardon added a comment - Still there with Jenkins 1.435 and Emma Plugin 1.26
            Hide
            peter_schuetze peter_schuetze added a comment -

            Just found it in my logfile.
            Jenkins 1.446
            Emma 1.26

            Show
            peter_schuetze peter_schuetze added a comment - Just found it in my logfile. Jenkins 1.446 Emma 1.26
            Hide
            matthias_vach Matthias Vach added a comment -

            Problem is also in Jenkins 1.451 with Emma 1.26

            Show
            matthias_vach Matthias Vach added a comment - Problem is also in Jenkins 1.451 with Emma 1.26
            Hide
            evernat evernat added a comment - - edited
            Show
            evernat evernat added a comment - - edited I suppose that @Extension(optional = true) could fix this for the emma plugin (and for the cobertura plugin which has the same issue: JENKINS-11398 ). See http://groups.google.com/group/jenkinsci-dev/browse_thread/thread/493773519b31f5df and https://github.com/jenkinsci/warnings-plugin/blob/master/src/main/java/hudson/plugins/warnings/dashboard/WarningsNewVersusFixedGraphPortlet.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            src/main/java/hudson/plugins/emma/portlet/chart/EmmaBuilderTrendChart.java
            http://jenkins-ci.org/commit/emma-plugin/07959ee89882ff962f2695f95197bbd5f5b30dc4
            Log:
            [FIXED JENKINS-8839] Failed to load hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl

            Compare: https://github.com/jenkinsci/emma-plugin/compare/aa976cc...07959ee

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: src/main/java/hudson/plugins/emma/portlet/chart/EmmaBuilderTrendChart.java http://jenkins-ci.org/commit/emma-plugin/07959ee89882ff962f2695f95197bbd5f5b30dc4 Log: [FIXED JENKINS-8839] Failed to load hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl Compare: https://github.com/jenkinsci/emma-plugin/compare/aa976cc...07959ee
            Hide
            dogfood dogfood added a comment -

            Integrated in plugins_emma #65
            [FIXED JENKINS-8839] Failed to load hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl (Revision 07959ee89882ff962f2695f95197bbd5f5b30dc4)

            Result = SUCCESS
            Seiji Sogabe :
            Files :

            • src/main/java/hudson/plugins/emma/portlet/chart/EmmaBuilderTrendChart.java
            Show
            dogfood dogfood added a comment - Integrated in plugins_emma #65 [FIXED JENKINS-8839] Failed to load hudson.plugins.emma.portlet.chart.EmmaBuilderTrendChart$DescriptorImpl (Revision 07959ee89882ff962f2695f95197bbd5f5b30dc4) Result = SUCCESS Seiji Sogabe : Files : src/main/java/hudson/plugins/emma/portlet/chart/EmmaBuilderTrendChart.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ognjen Bubalo
            Path:
            src/main/java/hudson/plugins/jacoco/portlet/chart/JacocoBuilderTrendChart.java
            http://jenkins-ci.org/commit/jacoco-plugin/c78e0e291f76c13f3739f28ac844f9b3e766fcc5
            Log:
            [FIXED JENKINS-8839]

            Like in Emma

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ognjen Bubalo Path: src/main/java/hudson/plugins/jacoco/portlet/chart/JacocoBuilderTrendChart.java http://jenkins-ci.org/commit/jacoco-plugin/c78e0e291f76c13f3739f28ac844f9b3e766fcc5 Log: [FIXED JENKINS-8839] Like in Emma

              People

              Assignee:
              sogabe sogabe
              Reporter:
              sogabe sogabe
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: