TypeNotPresentException in JAXBContextHelper when running SCA application
-------------------------------------------------------------------------
Key: TUSCANY-4022
URL: https://issues.apache.org/jira/browse/TUSCANY-4022
Project: Tuscany
Issue Type: Bug
Reporter: Collin Tedlock
Priority: Minor
java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java
has method getSeeAlso() to handle XmlSeeAlso annotation processing:
private static Class<?>[] getSeeAlso(Class<?> interfaze) {
if (interfaze == null) {
return null;
}
XmlSeeAlso seeAlso = interfaze.getAnnotation(XmlSeeAlso.class);
if (seeAlso == null) {
return null;
} else {
return seeAlso.value();
}
}
Depending on JDK implementation, instead of null a TypeNotPresentException may
be thrown on getAnnotation(), which should be handled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira