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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-feature
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: