Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When the deploymentversionlimit property in org.apache.ace.client.repository.cfg is re-configured to a value that is lower than the number of deployment versions currently available in the repository I get an IllegalStateException when trying to create a workspace.
Steps to reproduce:
- Create a new ace instance (with the default deploymentversionlimit of -1)
- Add a few artifacts ( at least 3)
- create a feature, distribution and target
- link the feature, distribution and target
- add one artifact to the feature
- store
- add a second artifact to the feature
- store
- add a third artifact to the feature
- store
- stop ace (at least the client when not using the allinone distibution)
- change the deploymentversionlimit to 2
- start ace again
- run "ace:cw" in the gogo shell
For me this results in the following output:
g! ace:cw
gogo: ConversionException: java.lang.IllegalStateException: The repository is currently busy, so no objects can be removed.
---- Debugging information ----
message : java.lang.IllegalStateException: The repository is currently busy, so no objects can be removed.
cause-exception : java.lang.IllegalArgumentException
cause-message : java.lang.IllegalStateException: The repository is currently busy, so no objects can be removed.
class : org.apache.ace.client.repository.impl.RepositorySerializer
required-type : org.apache.ace.client.repository.impl.RepositorySerializer
path : /repository/deploymentversions/deploymentversion[3]
line number : 68
-------------------------------