IBM Support

PK38711: COMPILATION ERROR "CANNOT INVOKE EQUALS(INT) ON THE PRIMITIVE TYPE" WHEN GENERATING WEB SERVICE SKELETON

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - OS (name, language, version or SP): Microsoft Windows XP SP2
     - Product name (Build ID or version/patch level):
    IBM Rational Application Developer 6.0.1.1 iFix003a
    IBM Websphere 6.0.2.17
    
    Reproducible Y/N: Y
    
    Description of problem:
    When generating a Web Service, the following compilation errors
    are raised on some generated deserializers:
    1) Cannot invoke equals(int) on the primitive type
    2) e cannot be resolved
    3) Syntax error, insert ") Statement" to complete IfStatement
    

Local fix

  • using the webservices.jar provided with WAS 6.0.2.17 seems to
    fix the problem.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the WebSphere Application       *
    *                 Server webservice deploy functionality in    *
    *                 Rational Application Developer v6.0.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: The Java code produced by the           *
    *                      WebSphere Application Server v6.0       *
    *                      webservice emitter contains Java        *
    *                      compilation errors.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In certain situations the Java code produced by the WebSphere
    Application Server v6.0 webservice emitter would contain the
    following errors that are visible in the 'Problems' view:
    
    1) Cannot invoke equals(int) on the primitive type.
    2) 'e' cannot be resolved.
    3) Syntax error, insert ") Statement" to complete IfStatement"
    

Problem conclusion

  • The WebSphere Application Server webservice emitter has been
    updated to v6.0.2.17 to correct these problems.  The fix for
    this APAR is currently targeted for inclusion in Rational
    Application Developer v6.0.1.1 iFix 004.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK38711

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-02-05

  • Closed date

    2007-03-21

  • Last modified date

    2007-03-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC7L5H","label":"Application Server Toolkit (AST)"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 March 2007