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/06/28 17:31:16 UTC

[jira] [Created] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

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

       

[jira] [Updated] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-693:
---------------------------------------

    Fix Version/s:     (was: 2.2.4)
                       (was: 3.1.0)
                       (was: 3.0.1)
                   3.0.0
                   2.2.5
    
> 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: karaf-features
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-693.
--------------------------------

    
> 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: karaf-feature
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-693:
---------------------------------------

    Fix Version/s:     (was: 2.2.5)
                   2.2.6
    
> 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: karaf-features
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-693:
---------------------------------------

    Fix Version/s: 3.1.0

> 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.1, 3.1.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

       

[jira] [Updated] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-693:
---------------------------------------

    Fix Version/s:     (was: 2.2.3)
                   2.2.4

> 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: karaf-features
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.2.4, 3.0.1, 3.1.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

       

[jira] [Commented] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] [Updated] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-693:
---------------------------------------

    Component/s:     (was: karaf-core)
                 karaf-features

> 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: karaf-features
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.2.3, 3.0.1, 3.1.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

       

[jira] [Updated] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-693:
---------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.0.1

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

       

[jira] [Assigned] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-693:
------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> 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: karaf-feature
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (KARAF-693) features:addurl raises "Premature end of file" when network is not available

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-693.
----------------------------------------

    Resolution: Fixed
    
> 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: karaf-feature
>    Affects Versions: 2.2.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira