| Summary: | [GSS](6.4.z) CXF-6799 - java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Brad Maxwell <bmaxwell> |
| Component: | Web Services | Assignee: | Chao Wang <chaowan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Peter Mackay <pmackay> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.4.7 | CC: | asoldano, bbaranow, cdewolf, cdolphy, chaowan, dboeren, jtruhlar, pmackay, rnetuka |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.9 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-17 12:57:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1312499, 1312503, 1324262 | ||
Chao Wang <chaowan> updated the status of jira JBEAP-3800 to Closed Chao Wang <chaowan> updated the status of jira JBEAP-3711 to Resolved Verified with EAP 6.4.9.CP.CR2 Retroactively bulk-closing issues from released EAP 6.4 cummulative patches. Retroactively bulk-closing issues from released EAP 6.4 cummulative patches. |
Description of problem: Deploying test web service gives on JBoss startup: Caused by: java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:251) Generated web service class has the following element which has issues with the JAXB binding: @XmlElementRefs( { @XmlElementRef(name = "Salutation", namespace = "http://ws.gss.redhat.com/", type = JAXBElement. @XmlElementRef(name = "Name", namespace = "http://ws.gss.redhat.com/", type = JAXBElement.class) } ) protected JAXBElement<String> [] salutationAndName; Web service was generated from WSDL with <jaxb:globalBindings collectionType="indexed" /> and the following schema: <xs:complexType name="Greetings"> <xs:sequence maxOccurs="unbounded"> <xs:element name="Salutation" type="xsd:string"/> <xs:element name="Name" type="xsd:string"/> </xs:sequence> </xs:complexType>