You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Bram de Kruijff (JIRA)" <ji...@apache.org> on 2013/05/27 09:45:45 UTC

[jira] [Closed] (ACE-164) Retrieving targets throws StatefulGatewayObject is not backed by a GatewayObject.

     [ https://issues.apache.org/jira/browse/ACE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bram de Kruijff closed ACE-164.
-------------------------------

    Fix Version/s: 1.0.0
       Resolution: Fixed

Bulk update to fix version 1.0
                
> 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
>            Reporter: Bram de Kruijff
>            Assignee: Marcel Offermans
>             Fix For: 1.0.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira