Closed timja closed 15 years ago
Bumping up to P1. Given the failure mode and the launching mode, this is likely
affecting all users.
I tried a but more and have some additional information:
My test case is the 'save' when creating a new job.
The error only occurs when using Firefox (I'm on 2.0.11).
It works on IE.
HTH
Hans
Does firefox report any error? Perhaps can you install FireBug or something?
I suspect this is due to a failing JavaScript on the browser. The thing is, I
also run Firefox but it works for me (I'm also on 2.0.0.11 except this is on Linux.)
On my linux box at home I did the same test and it worked as it did for you.
Tried to reproduce it again today (on the machine that gave me the error) and
... no more exception.
I do not know what has changed since but if I encounter it again I'll try to get
more information.
Just installed Hudson for the first time (using WebStart). When doing any kind
of submit to 'configSubmit' I get the exception below:
Status Code: 500
Exception:
Stacktrace:
net.sf.json.JSONException: A JSONObject text must begin with '{' at character 0 of
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:881)
at net.sf.json.JSONObject._fromString(JSONObject.java:1102)
at net.sf.json.JSONObject.fromObject(JSONObject.java:175)
at net.sf.json.JSONObject.fromObject(JSONObject.java:145)
at hudson.StructuredForm.get(StructuredForm.java:16)
at hudson.model.Job.doConfigSubmit(Job.java:698)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:277)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:59)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:294)
at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:294)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:231)
at org.kohsuke.stapler.Stapler.service(Stapler.java:79)
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.security.HudsonFilter.doFilter(HudsonFilter.java:71)
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(Unknown Source)
Originally reported by hanlho, imported from: net.sf.json.JSONException on configSubmit