Trac Plugin installation problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Trac Plugin installation problems

Stephan Vollmer
Hi,

with the recent 1.231 build I noticed problems regarding plugins:

* I tried to install the Trac plugin in Hudson 1.231 with the integrated plugin manager. After a restart, not the Trac plugin was installed, but instead the Google Calendar (gcal) plugin is listed in the "Installed plugins" section.

* As a solution, I uploaded the plugin manually. But when I specify Trac setting on my project's configuration page and click 'Save', I see this error:

---------------------------------------------
javax.servlet.ServletException: java.lang.IllegalArgumentException: Class hudson.plugins.trac.TracRepositoryBrowser is specified in JSON, but no such class found in WebappClassLoader
  delegate: false
  repositories:
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a

        org.kohsuke.stapler.Stapler.invoke(Stapler.java:449)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
        org.kohsuke.stapler.Stapler.service(Stapler.java:121)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38)
        hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
        hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)

root cause

java.lang.IllegalArgumentException: Class hudson.plugins.trac.TracRepositoryBrowser is specified in JSON, but no such class found in WebappClassLoader
  delegate: false
  repositories:
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a

        org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:306)
        hudson.scm.RepositoryBrowsers.createInstance(RepositoryBrowsers.java:72)
        hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:1033)
        hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:808)
        hudson.scm.SCMS.parseSCM(SCMS.java:37)
        hudson.model.AbstractProject.submit(AbstractProject.java:914)
        hudson.model.Project.submit(Project.java:150)
        hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68)
        hudson.model.Job.doConfigSubmit(Job.java:831)
        hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
        org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57)
        org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
        org.kohsuke.stapler.Stapler.service(Stapler.java:121)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38)
        hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
        hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)

root cause

java.lang.ClassNotFoundException: hudson.plugins.trac.TracRepositoryBrowser
        org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
        org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
        org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:301)
        hudson.scm.RepositoryBrowsers.createInstance(RepositoryBrowsers.java:72)
        hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:1033)
        hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:808)
        hudson.scm.SCMS.parseSCM(SCMS.java:37)
        hudson.model.AbstractProject.submit(AbstractProject.java:914)
        hudson.model.Project.submit(Project.java:150)
        hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68)
        hudson.model.Job.doConfigSubmit(Job.java:831)
        hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
        org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57)
        org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
        org.kohsuke.stapler.Stapler.service(Stapler.java:121)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38)
        hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
        hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
---------------------------------------------

Other plugins that are already installed (FindBugs, PMD etc.) still work fine.

Does anybody have a solution for this?

Thanks in advance,
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Trac Plugin installation problems

Kohsuke Kawaguchi
Administrator

See https://hudson.dev.java.net/issues/show_bug.cgi?id=1966

Stephan Vollmer wrote:

> Hi,
>
> with the recent 1.231 build I noticed problems regarding plugins:
>
> * I tried to install the Trac plugin in Hudson 1.231 with the integrated plugin manager. After a restart, not the Trac plugin was installed, but instead the Google Calendar (gcal) plugin is listed in the "Installed plugins" section.
>
> * As a solution, I uploaded the plugin manually. But when I specify Trac setting on my project's configuration page and click 'Save', I see this error:
>
> ---------------------------------------------
> javax.servlet.ServletException: java.lang.IllegalArgumentException: Class hudson.plugins.trac.TracRepositoryBrowser is specified in JSON, but no such class found in WebappClassLoader
>   delegate: false
>   repositories:
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@e24e2a
>
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:449)
> org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
> org.kohsuke.stapler.Stapler.service(Stapler.java:121)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38)
> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
> hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
>
> root cause
>
> java.lang.IllegalArgumentException: Class hudson.plugins.trac.TracRepositoryBrowser is specified in JSON, but no such class found in WebappClassLoader
>   delegate: false
>   repositories:
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@e24e2a
>
> org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:306)
> hudson.scm.RepositoryBrowsers.createInstance(RepositoryBrowsers.java:72)
> hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:1033)
> hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:808)
> hudson.scm.SCMS.parseSCM(SCMS.java:37)
> hudson.model.AbstractProject.submit(AbstractProject.java:914)
> hudson.model.Project.submit(Project.java:150)
> hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68)
> hudson.model.Job.doConfigSubmit(Job.java:831)
> hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
> org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57)
> org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
> org.kohsuke.stapler.Stapler.service(Stapler.java:121)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38)
> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
> hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
>
> root cause
>
> java.lang.ClassNotFoundException: hudson.plugins.trac.TracRepositoryBrowser
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
> org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:301)
> hudson.scm.RepositoryBrowsers.createInstance(RepositoryBrowsers.java:72)
> hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:1033)
> hudson.scm.SubversionSCM$DescriptorImpl.newInstance(SubversionSCM.java:808)
> hudson.scm.SCMS.parseSCM(SCMS.java:37)
> hudson.model.AbstractProject.submit(AbstractProject.java:914)
> hudson.model.Project.submit(Project.java:150)
> hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68)
> hudson.model.Job.doConfigSubmit(Job.java:831)
> hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:312)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
> org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57)
> org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:263)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:440)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
> org.kohsuke.stapler.Stapler.service(Stapler.java:121)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:38)
> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:30)
> hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
> ---------------------------------------------
>
> Other plugins that are already installed (FindBugs, PMD etc.) still work fine.
>
> Does anybody have a solution for this?
>
> Thanks in advance,
> Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Trac Plugin installation problems

Stephan Vollmer
Kohsuke Kawaguchi wrote:
> See https://hudson.dev.java.net/issues/show_bug.cgi?id=1966

Thanks! I searched, but must have overlooked this issue!

- Stephan


signature.asc (266 bytes) Download Attachment