[
https://issues.apache.org/jira/browse/ARIES-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935756#comment-14935756
]
Wouter Bancken commented on ARIES-1423:
---------------------------------------
Unfortunately the fix doesn't work.
The execution path enters the AbstractClauseBasedHeader in the
AbstractClauseBasedHeader(String header, ClauseFactory<C> factory) constructor
which then call the other constructor with the result of the computeClauses
method. The header in the computeClauses method is the string "" as expected
after the fix. However the ClauseTokenizer will convert this to an empty set of
clauses and therefore the "No clauses" IAE is still thrown.
> IllegalArgumentException when GenericHeader has no clauses
> ----------------------------------------------------------
>
> Key: ARIES-1423
> URL: https://issues.apache.org/jira/browse/ARIES-1423
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Affects Versions: subsystem-2.0.3
> Reporter: Wouter Bancken
> Assignee: John Ross
> Attachments: MANIFEST.MF
>
>
> When trying to install a subsystem which contains bundles that have a
> manifest that contains empty headers, the AbstractClauseBasedHeader throws an
> IllegalArgumentException.
> Example headers are (manifest attached to this issue)
> {code}
> Build-Plan:
> Build-Number:
> {code}
> The exception is caused by the rework of the AbstractClauseBasedHeader for
> ARIES-1387.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)