You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins.rb
Hello
I updated jenkins-plugin by 'gem install jpi' and checked out the
newest jenkins-prototype-ruby-plugin.
When I run it, the link of 'Test Root Action' is displayed well but as
it is clicked, the following exception occurs.
****** exception ******
com.google.common.collect.ComputationException:
java.lang.NoSuchMethodError:
org.kohsuke.stapler.jelly.jruby.JRubyClassInfo.findResource(Ljava/lang/
String;Ljava/lang/ClassLoader;)Ljava/net/URL;
at com.google.common.collect.ComputingConcurrentHashMap
$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
at
org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:
61)
at
org.kohsuke.stapler.jelly.jruby.JRubyFacet.handleIndexRequest(JRubyFacet.java:
168)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:552)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:502)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:
249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter
$1.doFilter(PluginServletFilter.java:95)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:
87)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter
$1.doFilter(ChainedServletFilter.java:84)
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
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:
81)
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:680)
Caused by: java.lang.NoSuchMethodError:
org.kohsuke.stapler.jelly.jruby.JRubyClassInfo.findResource(Ljava/lang/
String;Ljava/lang/ClassLoader;)Ljava/net/URL;
at
org.kohsuke.stapler.jelly.jruby.JRubyClassInfo.loadScript(JRubyClassInfo.java:
42)
at
org.kohsuke.stapler.jelly.jruby.JRubyClassInfo.loadScript(JRubyClassInfo.java:
19)
at org.kohsuke.stapler.CachingScriptLoader
$1.apply(CachingScriptLoader.java:30)
at org.kohsuke.stapler.CachingScriptLoader
$1.apply(CachingScriptLoader.java:27)
at com.google.common.collect.ComputingConcurrentHashMap
$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
at com.google.common.collect.ComputingConcurrentHashMap
$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
at com.google.common.collect.ComputingConcurrentHashMap
$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
at
com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:
69)
at com.google.common.collect.ComputingConcurrentHashMap
$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
... 34 more
****** exception ******
Would someone please tell me how I can solve this?
Thanks.
Charles Lowell
unread,
Jan 17, 2012, 10:51:25 AM1/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenk...@googlegroups.com
Hi Kenny,
That said, I suspect that perhaps you need a newer version of jenkins-war. That's more of an intuition than a firm diagnosis of your problem though since I'm not familiar with this particular error.
I also suspect that KK knows exactly what this exception means :)