ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (IVY-1438) ParseException when "Bundle-Description" is present in OSGI MANIFEST.MF
Date Sun, 08 Sep 2013 14:50:51 GMT

     [ https://issues.apache.org/jira/browse/IVY-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Lalevée resolved IVY-1438.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.0
         Assignee: Nicolas Lalevée

Fixed. Thanks for your detailed report.
                
> ParseException when "Bundle-Description" is present in OSGI MANIFEST.MF
> -----------------------------------------------------------------------
>
>                 Key: IVY-1438
>                 URL: https://issues.apache.org/jira/browse/IVY-1438
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0
>            Reporter: Michael Schnell
>            Assignee: Nicolas Lalevée
>             Fix For: 2.4.0
>
>         Attachments: javax.servlet_3.0.0.v201112011016.jar
>
>
> When a "Bundle-Description" is present in a parsed "MANIFEST.MF" file then a ParseException
is thrown.
> *EXAMPLE* (from Eclipse 4.2.2 "plugin" Directory):
> javax.servlet_3.0.0.v201112011016.jar!/META-INF/MANIFEST.MF
> *DESCRIPTION* (from above manifest):
> Bundle-Description: glassfish javax.servlet.3.1.0.b33
> *EXCEPTION*:
> Caused by: java.text.ParseException: Expecting the end of a value or of an parameter
name
> 	at org.apache.ivy.osgi.core.ManifestHeaderValue$ManifestHeaderParser.error(ManifestHeaderValue.java:179)
> 	at org.apache.ivy.osgi.core.ManifestHeaderValue$ManifestHeaderParser.error(ManifestHeaderValue.java:175)
> 	at org.apache.ivy.osgi.core.ManifestHeaderValue$ManifestHeaderParser.parseValueOrParameter(ManifestHeaderValue.java:218)
> 	at org.apache.ivy.osgi.core.ManifestHeaderValue$ManifestHeaderParser.parseElement(ManifestHeaderValue.java:185)
> 	at org.apache.ivy.osgi.core.ManifestHeaderValue$ManifestHeaderParser.parse(ManifestHeaderValue.java:155)
> 	at org.apache.ivy.osgi.core.ManifestHeaderValue.<init>(ManifestHeaderValue.java:51)
> 	at org.apache.ivy.osgi.core.ManifestParser.parseManifest(ManifestParser.java:107)
> *REPRODUCE*:
> Try to create a ManifestHeaderValue like this: 
> {code:java} 
> new ManifestHeaderValue("glassfish javax.servlet.3.1.0.b33")
> {code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message