<< Back to previous view |
[QB-1692] QB4.0.30
|
|
Status: | Open |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 4.0.30 |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Ashish | Assigned To: | Robin Shen |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: | AIX Box |
Description |
curl -v -X POST -u admin:admin-d@TestBed2.xml http://localhost:8400/rest/build_requests
argument type mismatch * About to connect() to localhost (#0) * connected * Connected to localhost port 8400 (#0) * Server auth using Basic with user 'admin' > POST /rest/build_requests HTTP/1.1 > Authorization: Basic cnhjb25uZWN0OnJ4Y29ubmVjdA== > User-Agent: curl/7.27.0 > Host: localhost:8400> Accept: */* > Content-Length: 14298 > Content-Type: application/x-www-form-urlencoded > Expect: 100-continue > < HTTP/1.1 100 Continue < HTTP/1.1 500 Internal Server Error < Content-Type: text/plain < Transfer-Encoding: chunked < Server: Jetty(6.1.x) * HTTP error before end of send, stop sending < * Closing connection #0 /quickbuild-4.0.30/logs/quickbuild.log 2013-06-28 08:17:54,285 [1696490782@qtp-1664770874-188] ERROR com.pmease.quickbuild.rest.providers.GenericExceptionMapper - Error serving restful request. java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(Ab stractResourceMethodDispatchProvider.java:149) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher .java:67) |
Comments |
Comment by Robin Shen [ 29/Jun/13 01:04 AM ] |
There should exist a space between "-uadmin:admin" and "-d@TestBed2.xml". |