ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACE-238) Register an already registered target through REST API causes internal error
Date Thu, 29 Mar 2012 09:40:27 GMT
Register an already registered target through REST API causes internal error
----------------------------------------------------------------------------

                 Key: ACE-238
                 URL: https://issues.apache.org/jira/browse/ACE-238
             Project: ACE
          Issue Type: Bug
            Reporter: J.W. Janssen
            Assignee: J.W. Janssen


When trying to register an already registered target through the REST API causes an internal
error:

java.lang.IllegalArgumentException
	at org.apache.ace.client.repository.impl.ObjectRepositoryImpl.create(ObjectRepositoryImpl.java:83)
	at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.register(StatefulTargetRepositoryImpl.java:346)
	at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.register(StatefulTargetObjectImpl.java:103)
	at org.apache.ace.client.rest.Workspace.registerTarget(Workspace.java:234)
	at org.apache.ace.client.rest.RESTClientServlet.doPost(RESTClientServlet.java:315)

The REST API should never crash like this.

--
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

        

Mime
View raw message