Return-Path:
X-Original-To: apmail-ace-commits-archive@www.apache.org
Delivered-To: apmail-ace-commits-archive@www.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 1D0E79A63
for ;
Fri, 30 Mar 2012 11:22:51 +0000 (UTC)
Received: (qmail 47807 invoked by uid 500); 30 Mar 2012 11:22:51 -0000
Delivered-To: apmail-ace-commits-archive@ace.apache.org
Received: (qmail 47788 invoked by uid 500); 30 Mar 2012 11:22:51 -0000
Mailing-List: contact commits-help@ace.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@ace.apache.org
Delivered-To: mailing list commits@ace.apache.org
Received: (qmail 47779 invoked by uid 99); 30 Mar 2012 11:22:51 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 11:22:51 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED,T_RP_MATCHES_RCVD
X-Spam-Check-By: apache.org
Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 11:22:48 +0000
Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116])
by hel.zones.apache.org (Postfix) with ESMTP id 6F15D34E457
for ; Fri, 30 Mar 2012 11:22:27 +0000 (UTC)
Date: Fri, 30 Mar 2012 11:22:27 +0000 (UTC)
From: "Marcel Offermans (Closed) (JIRA)"
To: commits@ace.apache.org
Message-ID:
<543506287.37424.1333106547467.JavaMail.tomcat@hel.zones.apache.org>
Subject: [jira] [Closed] (ACE-164) Retrieving targets throws
StatefulGatewayObject is not backed by a GatewayObject.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394
[ https://issues.apache.org/jira/browse/ACE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Offermans closed ACE-164.
--------------------------------
Looks good, closing.
> 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)
> <
>
>
>
> Error 500 This StatefulGatewayObject is not backed by a GatewayObject.
>
> HTTP ERROR 500
> Problem accessing /client/work/rest-5/target. Reason:
>
This StatefulGatewayObject is not backed by a GatewayObject.
Caused by:
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