Skip to main content

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

  • From: marysowdha@...
  • To: Stuart McCulloch <mcculls@...>
  • Cc: Hudson Developers <dev@...>
  • Subject: [Hudson-Dev] Re: Internal Server Error with Adding new user/group.
  • Date: Wed, 21 Dec 2011 15:15:20 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Subject:References:From:Content-Transfer-Encoding:Content-Type:In-Reply-To:Message-Id:Date:Cc:To:Mime-Version:X-Mailer; b=TIEcxij9tTLhtvtYRf+2IQJcvHmFvo0BbFy7VLO/Ha9t959iW3A8wjPvrCRloC4yudOmtFxdroV1XheEMdwlDf9owDBMahdfrcJhTLvFtdPm29Nptji9SDKGdVMYdwKD7Lvb5HOCHy7513O5ghrJtp36gevazw5c+b/DfxXrO/c= ;

Thanks Stuart.

Looks like it is a maven project so I can compile.

Can you please let me know how to checkout this project?

I don't see a way to download the source.

Thanks so much!
Mary

On Dec 21, 2011, at 11:43 AM, Stuart McCulloch <mcculls@...> wrote:

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