ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ACE-449) IllegalStateException when deploymentversionlimit is re-configured to a value lower than the amount of deployment versions in the repository
Date Thu, 17 Apr 2014 08:57:09 GMT

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

Marcel Offermans closed ACE-449.
--------------------------------

    Resolution: Fixed

Closed all issues I just reopened and targeted for 'next' release.

> IllegalStateException when deploymentversionlimit is re-configured to a value lower than
the amount of deployment versions in the repository
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ACE-449
>                 URL: https://issues.apache.org/jira/browse/ACE-449
>             Project: ACE
>          Issue Type: Bug
>            Reporter: Bram Pouwelse
>            Assignee: Marcel Offermans
>             Fix For: next
>
>
> 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
> -------------------------------



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message