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

Brent Daniel reopened TUSCANY-3409:
-----------------------------------


I think this is still an issue, as disscussed in [1]. 

I think there are two fixes here. One, the type checking could be less 
restrictive when the XSD type can not be inferred (as is the case with an 
unannotated java class.) Two, the java introspection should take into account 
the presence of JAXB annotations to determine the XSD type for the java class. 

[1] http://www.mail-archive.com/[email protected]/msg02122.html

> Non-Simple Property Injected with XML Fails with NullPointerException
> ---------------------------------------------------------------------
>
>                 Key: TUSCANY-3409
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3409
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0-M4
>         Environment: Mac OS X 10.5.8, Java 1.6.0_17
>            Reporter: Ivan Krizsan
>
> I've had problems trying to inject XML data into a Java Bean class property. 
> Fails with NullPointerException. Found a unit test in Tuscany that is similar 
> to the program I've written and that fails in the same manner:
> Package: org.apache.tuscany.sca.deployment.impl
> Class: DeployerImplTestCase
> Method: testBuild
> I've tried to run my program on Tuscany SCA 1.5.1 and it works without 
> problems, injecting the data as supposed.

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

Reply via email to