Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1040732 - [GSS] (6.3.0) JAXBDataBinding can not handle the exception with generic objects like ObjectWithGenerics<Boolean, Integer>
[GSS] (6.3.0) JAXBDataBinding can not handle the exception with generic objec...
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity unspecified
: ER8
: EAP 6.3.0
Assigned To: Alessio Soldano
Rostislav Svoboda
Russell Dickenson
:
Depends On:
Blocks: 1040703 1040731
  Show dependency treegraph
 
Reported: 2013-12-11 21:07 EST by Kyle Lape
Modified: 2014-10-25 08:37 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previous releases of JBoss EAP 6 carried an issue that presented when an `Exception` class contained some members with type parameters defined as shown the following example. The WSDL generated from the exception class was incorrect and the SOAP fault message was not expected. ---- @javax.xml.ws.WebFault public class GenericsException extends Exception { private static final long serialVersionUID = 1L; private ObjectWithGenerics<Boolean, Integer> obj; public ObjectWithGenerics<Boolean, Integer> getObj() { return obj; } public void setObj(ObjectWithGenerics<Boolean, Integer> obj) { this.obj = obj; } } ---- This issue was resolved upstream and the fix incorporated into this release of the product.
Story Points: ---
Clone Of: 1040703
Environment:
Last Closed: 2014-08-06 10:38:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Apache JIRA CXF-5437 None None None Never

  None (edit)
Description Kyle Lape 2013-12-11 21:07:43 EST
When the Exception has some generics object like:

@javax.xml.ws.WebFault
public class GenericsException extends Exception {
    private static final long serialVersionUID = 1L;
    private ObjectWithGenerics<Boolean, Integer> obj;

    public ObjectWithGenerics<Boolean, Integer> getObj() {
        return obj;
    }
    public void setObj(ObjectWithGenerics<Boolean, Integer> obj) {
        this.obj = obj;
    }
}

Both the wsdl generated from the exception class is wrong and soap fault message is not expected.
Comment 1 Petr Sakař 2014-03-05 03:37:29 EST
see https://bugzilla.redhat.com/show_bug.cgi?id=1040703 for verifier
Comment 2 Petr Sakař 2014-04-08 05:42:37 EDT
Verification failed for EAP 6.3.0.ER1.

See BZ1040703 comment#9 ( https://bugzilla.redhat.com/show_bug.cgi?id=1040703#c9 )
Comment 3 Russell Dickenson 2014-05-13 01:28:42 EDT
Attention: Kyle

As this is a clone of BZ1040703 I need confirmation of the draft Release Notes text, which is the same as that in BZ1040703.
Comment 4 Kyle Lape 2014-06-05 19:29:21 EDT
This should be fixed in 6.3.0 since the upstream bug was fixed in CXF 2.7.9.

Also revised doc text.
Comment 6 Rostislav Svoboda 2014-07-01 03:42:21 EDT
Moving to ON_QA, probably lost in BZ hell.
Comment 7 Jan Blizňák 2014-07-01 04:51:45 EDT
Verified on 6.3.0.ER8, used verifier from BZ-1040703.

Note You need to log in before you can comment on or make changes to this bug.