Skip to main content

[Hudson-Dev] Re: Fw: Internal Server Error with Adding new user/group.

  • From: Ullrich Hafner <ullrich.hafner@...>
  • To: Mary S Michael <marysowdha@...>, dev@...
  • Subject: [Hudson-Dev] Re: Fw: Internal Server Error with Adding new user/group.
  • Date: Thu, 22 Dec 2011 09:23:37 +0100

The release 1.37 is ready for download at:
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jvnet/hudson/plugins/analysis-core/1.37/analysis-core-1.37.hpi

It will be available in the update center in a couple of hours...

Ulli


On 12/21/2011 11:18 PM, Mary S Michael wrote:
Ulli,

When do you think the next version of analysis-core plugin will be released?

Or please let me know the steps to build this plugin from source.

Thanks
Mary

----- Forwarded Message -----
From: Stuart McCulloch <mcculls@...>
To: Mary S Michael <marysowdha@...>
Cc: Hudson Developers <dev@...>
Sent: Wednesday, December 21, 2011 11:43 AM
Subject: Re: Internal Server Error with Adding new user/group.

Looks like an incompatibility between the version of JSON used in Hudson and the latest analysis-core plugin.

I believe this was recently fixed by https://github.com/jenkinsci/analysis-core-plugin/pull/4 - if necessary you could build this plugin locally and manually install the HPI file (via the plugin manager page in Hudson) as a workaround until the next release of the analysis-core plugin.

On 21 December 2011 19:28, Mary S Michael <marysowdha@...> wrote:
Hello,

When I am trying to add a new USER/GROUP under 'Enable project-based security' and SAVE I get the following error. This is a Free Style Project Type.  I am using Hudson 2.2.0 version. Tomcat 7.0.23

I created a new Project and not able to enable everyone to use it. I tried deleting and creating a new job but the error persists.

Thanks
Mary

HTTP Status 500 -


type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NoSuchMethodError: net.sf.json.JSONObject.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:603)
	org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	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(HttpServlet.java:722)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:78)
	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)
	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)
root cause
java.lang.NoSuchMethodError: net.sf.json.JSONObject.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
	hudson.plugins.analysis.core.PluginDescriptor.convertHierarchicalFormData(PluginDescriptor.java:48)
	hudson.plugins.analysis.core.PluginDescriptor.newInstance(PluginDescriptor.java:72)
	hudson.plugins.analysis.core.PluginDescriptor.newInstance(PluginDescriptor.java:29)
	hudson.util.CascadingUtil.buildExternalProperties(CascadingUtil.java:436)
	hudson.model.BaseBuildableProject.buildPublishers(BaseBuildableProject.java:238)
	hudson.model.BaseBuildableProject.submit(BaseBuildableProject.java:129)
	hudson.model.FreeStyleProject.submit(FreeStyleProject.java:85)
	hudson.model.Job.doConfigSubmit(Job.java:1398)
	hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:904)
	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:282)
	org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
	org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
	org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
	org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	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(HttpServlet.java:722)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
	org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:78)
	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)
	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)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.

Apache Tomcat/7.0.23







[Hudson-Dev] Internal Server Error with Adding new user/group.

Mary S Michael 12/21/2011

[Hudson-Dev] Re: Internal Server Error with Adding new user/group.

Stuart McCulloch 12/21/2011

[Hudson-Dev] Re: Internal Server Error with Adding new user/group.

marysowdha 12/21/2011

[Hudson-Dev] Re: Internal Server Error with Adding new user/group.

Stuart McCulloch 12/22/2011

[Hudson-Dev] Re: Internal Server Error with Adding new user/group.

Mary S Michael 12/22/2011

[Hudson-Dev] Re: Internal Server Error with Adding new user/group.

Mary S Michael 12/22/2011

[Hudson-Dev] Re: Internal Server Error with Adding new user/group.

Stuart McCulloch 12/22/2011

Message not available

[Hudson-Dev] Re: Fw: Internal Server Error with Adding new user/group.

Ullrich Hafner 12/22/2011

[Hudson-Dev] Re: Fw: Internal Server Error with Adding new user/group.

Stuart McCulloch 12/22/2011
 
 
Close
loading
Please Confirm
Close