You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/07/09 23:26:00 UTC
[jira] [Commented] (KARAF-693) features:addurl raises "Premature
end of file" when network is not available
[ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062634#comment-13062634 ]
Jean-Baptiste Onofré commented on KARAF-693:
--------------------------------------------
On trunk, as we use Aether, the error displayed is:
Could not add Feature Repository:
java.io.IOException: Aether Error.
I think it's not easy for several users to know the Aether Error means that the groupId/artifactID is not found in the defined repositories :)
> 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