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

David Bosschaert updated SLING-7920:
------------------------------------
    Fix Version/s:     (was: Feature Model Converter 0.2.0)
                   Feature Model Converter 0.2.2

> IllegalStateException in Model-to-Feature converter for multiple repoinit 
> sections
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-7920
>                 URL: https://issues.apache.org/jira/browse/SLING-7920
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Feature Model Converter 0.2.2
>
>
> Trying to convert the sling-org-apache-sling-starter I get the below 
> exception, as due to SLING-7919 the sling-event feature there contains two 
> :repoinit sections.
> {code}
> Exception in thread "main" java.lang.IllegalStateException
>       at org.apache.sling.feature.Extension.getText(Extension.java:111)
>       at 
> org.apache.sling.feature.modelconverter.ProvisioningToFeature.buildFromFeature(ProvisioningToFeature.java:444)
>       at 
> org.apache.sling.feature.modelconverter.ProvisioningToFeature.buildFeatures(ProvisioningToFeature.java:477)
>       at 
> org.apache.sling.feature.modelconverter.ProvisioningToFeature.convert(ProvisioningToFeature.java:113)
>       at org.apache.sling.feature.modelconverter.impl.Main.main(Main.java:195)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to