You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Derek Baum (JIRA)" <ji...@apache.org> on 2010/06/01 17:22:37 UTC

[jira] Resolved: (FELIX-2375) [gogo] when supplied args can't be coerced, the error message prints the arg values, rather than their types

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

Derek Baum resolved FELIX-2375.
-------------------------------

    Resolution: Fixed

fixed as described, e.g.

g! headers x
gogo: IllegalArgumentException: Cannot coerce headers(String) to any of [(Bundle[])]

> [gogo] when supplied args can't be coerced, the error message prints the arg values, rather than their types
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2375
>                 URL: https://issues.apache.org/jira/browse/FELIX-2375
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo
>            Reporter: Derek Baum
>            Assignee: Derek Baum
>            Priority: Minor
>             Fix For: gogo-0.6.0
>
>
> e.g.
> g! headers (bundles)
> gogo: IllegalArgumentException: Cannot coerce headers[[org.apache.felix.framework [0], org.apache.felix.bundlerepository [1], org.apache.felix.gogo.command [2], org.apache.felix.gogo.runtime [3], org.apache.felix.gogo.shell [4]]] to any of [(Bundle[])]
> This message would be better as:
> gogo: IllegalArgumentException: Cannot coerce headers(ArrayList) to any of [(Bundle[])]

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