You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/01/11 23:44:59 UTC

[jira] Created: (FELIX-872) JarContent swallows exception when opening manifest, it should log it

JarContent swallows exception when opening manifest, it should log it
---------------------------------------------------------------------

                 Key: FELIX-872
                 URL: https://issues.apache.org/jira/browse/FELIX-872
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: felix-1.4.1
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: felix-1.6.0


There was a bug in the GF mailing list that was resulting in an NPE when accessing the bundle class path, which was not getting calculated correctly because there was a signature error when getting the manifest from the bundle JAR. This true cause was hidden since JarContent was swallowing the exception. We should log this exception instead. Make sure we don't swallow other exceptions and in the other content implementations too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-872) JarContent swallows exception when opening manifest, it should log it

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-872.
---------------------------------

    Resolution: Fixed

JarContent no longer verifies signatures and retrieving the manifest manually is no longer necessary due to other refactoring in FELIX-851, so I think we can close this bug.

> JarContent swallows exception when opening manifest, it should log it
> ---------------------------------------------------------------------
>
>                 Key: FELIX-872
>                 URL: https://issues.apache.org/jira/browse/FELIX-872
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: felix-1.4.1
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: felix-1.6.0
>
>
> There was a bug in the GF mailing list that was resulting in an NPE when accessing the bundle class path, which was not getting calculated correctly because there was a signature error when getting the manifest from the bundle JAR. This true cause was hidden since JarContent was swallowing the exception. We should log this exception instead. Make sure we don't swallow other exceptions and in the other content implementations too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.