[
https://issues.apache.org/jira/browse/ACE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bram de Kruijff updated ACE-164:
--------------------------------
Comment: was deleted
(was: Thank you for your mail. I am out of the office right now. For urgent
matters please contact the office at +31 (0) 24 - 388 82 61.
Regards,
Bram de Kruijff
--
GX | Bram de Kruijff | Product Architect | Wijchenseweg 111 | 6538 SW Nijmegen
| The Netherlands | T +31(0)24 - 388 82 61 | F +31(0)24 - 388 86 21 | M +31(0)6
- 20 60 54 62 |
[email protected]<mailto:[email protected]> |
www.gxsoftware.com<http://www.gxsoftware.com> | twitter.com/GXSoftware
)
> Retrieving targets throws StatefulGatewayObject is not backed by a
> GatewayObject.
> ---------------------------------------------------------------------------------
>
> Key: ACE-164
> URL: https://issues.apache.org/jira/browse/ACE-164
> Project: ACE
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Bram de Kruijff
> Assignee: Marcel Offermans
>
> Can not retrieve targets throu REST api when an agent has registered itself.
> 1) Start clean devserver target (including client REST)
> 2) Create a workspace through the rest api
> 3) GET ${WORK}/target
> > GET /client/work/rest-3/target HTTP/1.1
> < HTTP/1.1 200 OK
> []
> 4) Start a launcher that registers as a target
> 5) Create a workspace through the rest api
> 6) GET ${WORK}/target
> > GET /client/work/rest-5/target HTTP/1.1
> > User-Agent: curl/7.21.7 (i686-pc-linux-gnu) libcurl/7.21.7 OpenSSL/0.9.8k
> > zlib/1.2.1.2 libidn/0.5.6
> > Host: l0115.gx.local:8080
> > Accept: */*
> >
> < HTTP/1.1 500 This StatefulGatewayObject is not backed by a GatewayObject.
> < Content-Type: text/html; charset=iso-8859-1
> < Cache-Control: must-revalidate,no-cache,no-store
> < Content-Length: 3507
> < Server: Jetty(6.1.x)
> <
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 500 This StatefulGatewayObject is not backed by a
> GatewayObject.</title>
> </head>
> <body><h2>HTTP ERROR 500</h2>
> <p>Problem accessing /client/work/rest-5/target. Reason:
> <pre> This StatefulGatewayObject is not backed by a
> GatewayObject.</pre></p><h3>Caused
> by:</h3><pre>java.lang.IllegalStateException: This StatefulGatewayObject is
> not backed by a GatewayObject.
> at
> org.apache.ace.client.repository.stateful.impl.StatefulGatewayObjectImpl.ensureGatewayPresent(StatefulGatewayObjectImpl.java:409)
> at
> org.apache.ace.client.repository.stateful.impl.StatefulGatewayObjectImpl.getGatewayObject(StatefulGatewayObjectImpl.java:114)
> at
> org.apache.ace.client.rest.Workspace.getRepositoryObjectIdentity(Workspace.java:163)
> at
> org.apache.ace.client.rest.RESTClientServlet.doGet(RESTClientServlet.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira