Bertrand Delacretaz created SLING-7920:
------------------------------------------

             Summary: 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
             Fix For: Feature Model Converter 0.1.4


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