-
Bug
-
Resolution: Won't Fix
-
Major
-
Ubuntu Server - Linux - 64 bit
Jenkins 1.570
Bitbucket plugin 1.0
While simulating a webhook request with a POST, the plugin can't parse the request payload, saying that the JSON must begin with '{' (which it does).
Tried with payload=
{ [JSON content] } and raw { [JSON content] }on body, but both didn't work.
Using this same request options on a PUT request works fine.
The log generated by Jenkins is attached in this issue. If you need any other information, please ask.
- is related to
-
JENKINS-24807 Cannot POST job configuration changes
-
- Open
-
I'm seeing a similar error when using wget to POST a config.xml change. I'm trying to modify a build job in a shell script by retrieving the config.xml using wget, modifying the config.xml, and then posting the modified config.xml using wget. This was working in the beginning of August, but now I'm getting HTTP 500 server error.
In the Jenkins log, I'm getting the same java.lang.reflect.InvocationTargetException exception, but caused by a different exception:
java.lang.reflect.InvocationTargetException
<snip>
Caused by: java.lang.IllegalStateException: STREAMED
at org.eclipse.jetty.server.Request.getReader(Request.java:898)
at javax.servlet.ServletRequestWrapper.getReader(ServletRequestWrapper.java:256)
at javax.servlet.ServletRequestWrapper.getReader(ServletRequestWrapper.java:256)
at hudson.model.AbstractItem.doConfigDotXml(AbstractItem.java:598)
... 81 more