[ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-693: --------------------------------------- Fix Version/s: (was: 2.2.4) (was: 3.1.0) (was: 3.0.1) 3.0.0 2.2.5 > features:addurl raises "Premature end of file" when network is not available > ---------------------------------------------------------------------------- > > Key: KARAF-693 > URL: https://issues.apache.org/jira/browse/KARAF-693 > Project: Karaf > Issue Type: Improvement > Components: karaf-features > Affects Versions: 2.2.1 > Reporter: Jean-Baptiste Onofré > Fix For: 2.2.5, 3.0.0 > > > When the host has a network issue, the features:addurl command raises: > [Fatal Error] :1:1: Premature end of file. > Could not add Feature Repository: > org.xml.sax.SAXParseException: Premature end of file. > It would be clean to catch the exception and display a message like "Network > not available". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira