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

Howard M. Lewis Ship closed TAPESTRY-2370.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.12
         Assignee: Howard M. Lewis Ship

> When injecting a component into a field and the type is not a match the 
> exception report is not sufficiently helpful
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2370
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2370
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.12
>
>
> The current exception is just the ClassCastException, with no indication of 
> why.
> An unexpected application exception has occurred.
>     * org.apache.tapestry.ioc.internal.util.TapestryException
>       com.parametrix.earth.components.EnumeratedRadioGroup
>     * java.lang.ClassCastException
>       com.parametrix.earth.components.EnumeratedRadioGroup
>       Stack trace
>               o 
> com.parametrix.earth.pages.survey.SurveyVegetationStructure.containingPageDidLoad(SurveyVegetationStructure.java)
>               o 
> org.apache.tapestry.internal.structure.ComponentPageElementImpl$4.run(ComponentPageElementImpl.java:87)
>               o 
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:874)
>               o 
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.containingPageDidLoad(ComponentPageElementImpl.java:754)
> The correct behavior should be to identify the containing component's 
> complete id, the injected component's simple id, the field name, the 
> component type and the field type.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to