Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-693

features:addurl raises "Premature end of file" when network is not available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.6, 3.0.0
    • karaf
    • None

    Description

      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".

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: