Karaf
  1. Karaf
  2. KARAF-693

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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".

        Activity

        Jean-Baptiste Onofré created issue -
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Fix Version/s 3.0.1 [ 12316945 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.1.0 [ 12316946 ]
        Jean-Baptiste Onofré made changes -
        Component/s karaf-features [ 12315008 ]
        Component/s karaf-core [ 12313724 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.2.4 [ 12317342 ]
        Fix Version/s 2.2.3 [ 12316685 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.2.5 [ 12317857 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Fix Version/s 3.0.1 [ 12316945 ]
        Fix Version/s 3.1.0 [ 12316946 ]
        Fix Version/s 2.2.4 [ 12317342 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.2.6 [ 12319142 ]
        Fix Version/s 2.2.5 [ 12317857 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development