History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1692
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Ashish
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

QB4.0.30

Created: 28/Jun/13 03:00 PM   Updated: 29/Jun/13 01:04 AM
Component/s: None
Affects Version/s: 4.0.30
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: AIX Box


 Description  « Hide
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)


 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [29/Jun/13 01:04 AM]
There should exist a space between "-uadmin:admin" and "-d@TestBed2.xml".