Error 500 after editing jobs with Hudson 1.333

3 messages Options
Embed this post
Permalink
bcygan

Error 500 after editing jobs with Hudson 1.333

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
After upgrading from Hudson 1.332 to 1.333, I can no longer edit the system configuration. On save, I get the following error page. This seems to be a line length issue or somehting similar.

Status Code: 500

Exception:
Stacktrace:
net.sf.json.JSONException: Unterminated string at character 1856 of {"system_message": "", "numExecutors": "1", "quiet_period": "5", "retry_count": "0", "primaryView": "All", "csrf": {"issuer": {"value": "0"}}, "usageStatisticsCollected": {}, "globalNodeProperties": {}, "hudson-tasks-Maven$MavenInstallation": {"maven": [{"name": "Maven 2.1.0", "home": "", "properties": {"stapler-class-bag": "true", "hudson-tools-InstallSourceProperty": {"installers": {"id": "2.1.0", "stapler-class": "hudson.tasks.Maven$MavenInstaller", "kind": "hudson.tasks.Maven$MavenInstaller$DescriptorImpl"}}}}, {"name": "Maven 2.2.0", "home": "", "properties": {"stapler-class-bag": "true", "hudson-tools-InstallSourceProperty": {"installers": {"id": "2.2.1", "stapler-class": "hudson.tasks.Maven$MavenInstaller", "kind": "hudson.tasks.Maven$MavenInstaller$DescriptorImpl"}}}}, {"name": "Maven 2.2.1", "home": "", "properties": {"stapler-class-bag": "true", "hudson-tools-InstallSourceProperty": {"installe
rs": {"id": "2.2.1", "stapler-class": "hudson.tasks.Maven$MavenInstaller", "kind": "hudson.tasks.Maven$MavenInstaller$DescriptorImpl"}}}}, {"name": "Maven 2 Latest", "home": "", "properties": {"stapler-class-bag": "true", "hudson-tools-InstallSourceProperty": {"installers": {"id": "2.2.1", "stapler-class": "hudson.tasks.Maven$MavenInstaller", "kind": "hudson.tasks.Maven$MavenInstaller$DescriptorImpl"}}}}, {"name": "Maven 3 Latest", "home": "", "properties": {"stapler-class-bag": "true", "hudson-tools-InstallSourceProperty": {"installers": {"id": "3.0-alpha-2", "stapler-class": "hudson.tasks.Maven$MavenInstaller", "kind": "hudson.tasks.Maven$MavenInstaller$DescriptorImpl"}}}}]}, "hudson-model-JDK": {"tool": {"name": "JDK 6 Latest", "home": "", "properties": {"stapler-class-bag": "true", "hudson-tools-InstallSourceProperty": {"installers": {"id": "jdk-6u16-oth-JPR@CDS-CDS_Developer", "acceptLicense": true, "stapler-class": "huds
	at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)
	at net.sf.json.util.JSONTokener.nextString(JSONTokener.java:244)
	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:352)
	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
	at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
	at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:850)
	at net.sf.json.JSONObject._fromString(JSONObject.java:1039)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:176)
	at net.sf.json.JSONObject.fromObject(JSONObject.java:147)
	at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:691)
	at hudson.model.Hudson.doConfigSubmit(Hudson.java:2187)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:493)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:118)
	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:94)
	at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:38)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:78)
	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 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:619)


Generated by Winstone Servlet Engine v0.9.10 at Tue Nov 10 15:11:24 CET 2009

[Bernhard_Cygan.vcf]

begin:vcard
fn:Bernhard Cygan
n:Cygan;Bernhard
org:StoneOne AG
adr;quoted-printable:;;Keithstra=C3=9Fe 6;Berlin;Berlin;10787;D
email;internet:[hidden email]
title:Solution Architect
tel;work:+49(30)469992904
tel;fax:+49(30)469992905
tel;cell:+49(173)6265316
x-mozilla-html:FALSE
url:http://www.stoneone.de
version:2.1
end:vcard




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

Re: Error 500 after editing jobs with Hudson 1.333

Reply Threaded More More options
Print post
Permalink
On 11/10/2009 Bernhard Cygan wrote:

> After upgrading from Hudson 1.332 to 1.333, I can no longer edit the
> system configuration. On save, I get the following error page. This
> seems to be a line length issue or somehting similar.
>
> Status Code: 500
> Exception:
> Stacktrace:
>
> net.sf.json.JSONException: Unterminated string at character 1856 of
> {"system_message": "", "numExecutors": "1", "quiet_period": "5", ...

I got this same error starting when I upgraded from 1.328 to 1.332, but only when I built from source.  I wound up reverting to building from the 1.328 source, since I have a patch for issue 4030 (Maven can't use Node Variables) that I'm waiting to make it into the release before I can start using the pre-built releases.



--
John Emmer
Senior Software Engineer / Team Lead

Commission Junction, a division of ValueClick, Inc.
10960 Wilshire Blvd. Suite 1950 . Los Angeles, CA 90024
phone 424 270 2553



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

Kohsuke Kawaguchi-2

Re: Error 500 after editing jobs with Hudson 1.333

Reply Threaded More More options
Print post
Permalink

This is tracked as HUDSON-4804
<https://hudson.dev.java.net/issues/show_bug.cgi?id=4804>, and it's
already fixed in the trunk and will be a part of 1.334.

John Emmer wrote:

> On 11/10/2009 Bernhard Cygan wrote:
>> After upgrading from Hudson 1.332 to 1.333, I can no longer edit the
>> system configuration. On save, I get the following error page. This
>> seems to be a line length issue or somehting similar.
>>
>> Status Code: 500
>> Exception:
>> Stacktrace:
>>
>> net.sf.json.JSONException: Unterminated string at character 1856 of
>> {"system_message": "", "numExecutors": "1", "quiet_period": "5", ...
>
> I got this same error starting when I upgraded from 1.328 to 1.332, but only when I built from source.  I wound up reverting to building from the 1.328 source, since I have a patch for issue 4030 (Maven can't use Node Variables) that I'm waiting to make it into the release before I can start using the pre-built releases.
>
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment