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: runtime
Affects Versions: 2.2.1
Reporter: Jean-Baptiste Onofré
Fix For: 2.2.3, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira