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

Xue Peng (JIRA) jira-events at lists.jboss.org
Fri Mar 13 01:59:22 EDT 2009


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

Xue Peng resolved JBIDE-3941.
-----------------------------

    Fix Version/s: 3.1.0
       Resolution: Done


DONE
I can't reappear this bug , but I change some codes for loading java pojo from .graph file.
Anyway , if user use the tools to open the smooks configuration file  you mentioned , it will occur the problem :"can't find the node ......" , but now I have modified the codes to load the java pojo. 

Please try it again 

> 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
>            Assignee: Xue Peng
>             Fix For: 3.1.0
>
>         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