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

ModularizeViewScript does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ui-samples-plugin
    • None
    • Jenkins 1.437

      When you click "ModularizeViewScript" link, You will get the following error.

       
      
      type 例外レポート
      
      メッセージ
      
      説明 The server encountered an internal error () that prevented it from fulfilling this request.
      
      例外
      
      com.google.common.collect.ComputationException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      file:/var/lib/hudson/plugins/ui-samples-plugin/WEB-INF/classes/jenkins/plugins/ui_samples/ModularizeViewScript/index.groovy: 23: The class 'jenkins.plugins.ui_samples.ModularizeViewScript.SomeGenerator' has an incorrect modifier static.
       @ line 23, column 1.
         static class SomeGenerator extends AbstractGroovyViewModule {
         ^
      
      1 error
      
      	com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:218)
      	com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)
      	com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)
      	org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:61)
      	org.kohsuke.stapler.jelly.groovy.GroovyClassTearOff.serveIndexGroovy(GroovyClassTearOff.java:64)
      	org.kohsuke.stapler.jelly.groovy.GroovyFacet.handleIndexRequest(GroovyFacet.java:103)
      	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:550)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      	org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:377)
      	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      	org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:377)
      	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      	org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      	javax.servlet.http.HttpServlet.service(Unknown Source)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      	org.jenkinsci.plugins.userlocale.UserLocaleFilter.doFilter(UserLocaleFilter.java:56)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      	net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:185)
      	net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:159)
      	net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      	org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:61)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      原因
      
      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      file:/var/lib/hudson/plugins/ui-samples-plugin/WEB-INF/classes/jenkins/plugins/ui_samples/ModularizeViewScript/index.groovy: 23: The class 'jenkins.plugins.ui_samples.ModularizeViewScript.SomeGenerator' has an incorrect modifier static.
       @ line 23, column 1.
         static class SomeGenerator extends AbstractGroovyViewModule {
         ^
      

            sogabe sogabe
            sogabe sogabe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: