You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/11/12 07:23:00 UTC

[jira] [Resolved] (SLING-7920) IllegalStateException in Model-to-Feature converter for multiple repoinit sections

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

Carsten Ziegeler resolved SLING-7920.
-------------------------------------
    Resolution: Fixed

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