[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3941) WildcardTypeImpl Exception when mapping Java to Java

Maurice Zeijen (JIRA) jira-events at lists.jboss.org
Thu Mar 5 16:25:22 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-3941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maurice Zeijen updated JBIDE-3941:
----------------------------------

    Attachment: The mapping.jpg


This is the mapping I used

> WildcardTypeImpl Exception when mapping Java to Java
> ----------------------------------------------------
>
>                 Key: JBIDE-3941
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3941
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: smooks
>    Affects Versions: 3.0.0.CR2
>         Environment: Eclipse 3.4.2
>            Reporter: Maurice Zeijen
>         Attachments: The mapping.jpg
>
>
> I got a sun.reflect.generics.reflectiveObjects.WildcardTypeImpl when doing a Java to Java mapping.
> I used the Smooks example java-to-java as source project (http://svn.codehaus.org/milyn/trunk/smooks-examples/java-to-java/).
> Here is what I did:
>  * Create a Smooks configuration file
>  * Select Java to Java
>  * Select example.srcmodel.Order as source
>  * Select example.trmodel.LineOrder as target
>  * Created the following mapping with the Graph editor (this may look like a strange mapping but is completely valid):
>       <resource-config selector="example.srcmodel.Order header"> 
>          <resource>org.milyn.javabean.BeanPopulator</resource>  
>          <param name="beanId">LineOrder</param>  
>          <param name="beanClass">example.trgmodel.LineOrder</param>  
>          <param name="bindings">
>              <binding property="customerId" selector=" example.srcmodel.Order header customerNumber"/>
>          </param> 
>       </resource-config>
>   * Saved and closed the file
>   * Reopend the configuration file.
>     

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list