ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IVY-1438) ParseException when "Bundle-Description" is present in OSGI MANIFEST.MF
Date Wed, 26 Mar 2014 22:00:23 GMT

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

Maarten Coene updated IVY-1438:
-------------------------------

    Fix Version/s:     (was: 2.4.0)
                   2.4.0-RC1

> 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-RC1
>
>         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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message